Want get HTML source ?
Use this: pageSource=await driver.getPageSource();
Want to get the visible text on the screen?
Use this:
pageSource=await driver.findElement(webdriver.By.tagName(“body”)).getText();
Want get HTML source ?
Use this: pageSource=await driver.getPageSource();
Want to get the visible text on the screen?
Use this:
pageSource=await driver.findElement(webdriver.By.tagName(“body”)).getText();
Designed using Responsive Brix. Powered by WordPress.