What is the alternative to driver.get() method to open an url using selenium webdriver?



What is the alternative to driver.get() method to open an url using selenium webdriver?..

Answer / Rinki

The alternative to the driver.get() method for opening a URL in Selenium WebDriver is the Chrome.Navigate().GoToUrl(url) method if you are using C#, or the FirefoxProfile().SetStartPage(url) and driver.Get(By.Url(url)) methods if you are using Python.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

What are the technical limitations while using selenium rc?

1 Answers  


How you will switch from one frame to another?

1 Answers  


How would you test your element locator?

1 Answers  


What are the advantages and disadvantages of selenium ?

1 Answers  


How to iterate through options in test script?

1 Answers  


Using selenium how can you handle network latency?

1 Answers  


How to perform drag and drop action in selenium webdriver?

1 Answers  


What are the different types of wait statements in selenium webdriver?

1 Answers  


How is a statement different from verification?

1 Answers  


Why should selenium be selected as a test program?

1 Answers  


Explain what are the junits annotation linked with selenium?

1 Answers  


Which selenium command(s) simulates selecting a link?

1 Answers  


Categories