Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
berkle4455
· 3y ago · 0 comments
Javascript is delivered as text and sends text-based HTTP calls to the server to fetch more data. Why do you need selenium?
Comments
[–]
LelouBil
3y ago
if you don't want to reverse engineer the javascript
[–]
KomoD
3y ago
Most of the time you don't need to, just open up devtools, look at the network tab, locate the right request(s).
[–]
rhd
3y ago
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.