0

I need to get the contents of a URL as a String, but the page this url points to has javascript that runs on page load that manipulates the DOM. How can I retrieve the HTML with the javascript DOM manipulation included? Is something like Selenium the right option? If so, how would I do that?

user1007895
  • 3,925
  • 11
  • 41
  • 63

1 Answers1

0

Try doing this :

Use the pause command

And then use driver.getPageSource()

woofmeow
  • 2,370
  • 16
  • 13