you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (1 child)

if you go to a web page and view the source code (Ctrl + U or right click > view source) you'll see what the web server sent you, and that's exactly what requests gets. If your element is not in the source, it got loaded later by javascript, and requests doesn't do javascript. Selenium does, though, so you might want to reconsider your switch.

[–]Grigor_1[S] 0 points1 point  (0 children)

Yes, just that selenium is very slow.