1
Reply

Bellow given syntax will work to navigate to specified URL In WebDriver? Why?

Kap Shivhare

Kap Shivhare

7y
353
0
Reply

    No. It will not work and show you an exception like : "Exception in thread "main" org.openqa.selenium.WebDriverException: f.QueryInterface is not a function" when you run your test. You need to provide http:// protocol with URL In driver.get method as bellow. driver.get("http://www.google.com"); Now It will work.