Monday, 20 June 2016

How to get html source code of current page

Below code can be used to get the html source of the current web page in Selenium.

String pageSource = driver.getPageSource();

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

No comments:

Post a Comment

Buy Best Selenium Books