How does one store the current url using selenium 2.0?



How does one store the current url using selenium 2.0?..

Answer / Thakur Shravyam

In Selenium WebDriver (version 2.0), you can store the current URL by accessing the `getCurrentUrl()` method of the `driver` object.n

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Selenium Interview Questions

Which all browsers are supported by selenium webdriver?

1 Answers  


What are soft assert and hard assert in selenium?

1 Answers  


What is the main difference between the close() and quit() methods?

1 Answers  


selenium can handle pop-up windows based on selenium is a test tool?

1 Answers  


Which web driver implementation is the fastest?

1 Answers  


How to get the number of frames on a page?

1 Answers  


What happen if you mix both implicit wait and explicit wait in a selenium script?

1 Answers  


How to read a javascript variable in selenium webdriver?

1 Answers  


What is selenese and what are the types of selenese?

1 Answers  


How to handle keyboard and mouse actions using selenium?

1 Answers  


What test can selenium do?

1 Answers  


What differs the configuration of Selenium Selenium 2.0 1.0?

1 Answers  


Categories