1
Reply

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

Kap Shivhare

Kap Shivhare

Nov 26, 2016
329
0

    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.

    Kap Shivhare
    November 26, 2016
    0