Hacker News new | ask | show | jobs
by berkle4455 1179 days ago
Javascript is delivered as text and sends text-based HTTP calls to the server to fetch more data. Why do you need selenium?
2 comments

if you don't want to reverse engineer the javascript
Most of the time you don't need to, just open up devtools, look at the network tab, locate the right request(s).
I've once used Selenium to run javascript in the webpage to steal a few dynamic tokens required by the sites API to reuse in my more well-trodden python-requests workflow.