Is it possible to get the existing page source and save it to a string in Selenium?
Hi Dipen,
Yes, use the getPageSource()
method in Selenium WebDriver. For example: String Page_Source = driver.getPageSource();
Is it possible to get the existing page source and save it to a string in Selenium?
Hi Dipen,
Yes, use the getPageSource()
method in Selenium WebDriver. For example: String Page_Source = driver.getPageSource();