Monday 20 June 2016

How to get current url in Selenium

We can get the current url in a browser in Selenium using below code.

String currentUrl =  driver.getCurrentUrl() ;

What do you think on above selenium topic. Please provide your inputs and comments. You can write to me at reply2sagar@gmail.com

No comments:

Post a Comment

Buy Best Selenium Books

Contributors