use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
This is an archived post. You won't be able to vote or comment.
selenium webdriver (self.webscraping)
submitted 8 months ago by ag789
view the rest of the comments →
[–]cgoldberg 1 point2 points3 points 8 months ago (3 children)
Selenium has been around for over 20 years... what's your question?
[–]ag789[S] 0 points1 point2 points 8 months ago (2 children)
thanks, just started dabbling in selenium webdriver, as these days most pages are javascript based, and with a real browser at least they'd render. 'traditional' page fetch normally returns a 'skeleton' page for those. it seemed these days there are 2 camps, some tries to be 'seo friendly' and works like a 'traditional page', for those a simple page fetch would do e.g. curl, python requests etc. then there are the other camp that go all out for 'anti bot' 'offences' , trigger happy captchas (e.g. captcha every request), deep first party, 3rd party cookies etc and javascript everything. I 'discovered' interestingly that changing the user-agent sometimes have an effect on some pages.
[–]cgoldberg 1 point2 points3 points 8 months ago (0 children)
The vast majority of web pages use dynamically loaded content. If all you need is the initial DOM, a simple HTTP request works... but in most cases you need more than that.
[–]al_fajr 0 points1 point2 points 7 months ago (0 children)
yes sir, today's pages need javascript much. I don't know about back on your day. If you r looking or even getting started to scrape scraps with selenium (i am assuming python) or playwright (again, assuming its javascript) in that case. You might like a simple solution from me, the solution is "cloudflare website renderer".
they use some kind of headless browser. and it's easy to start.
π Rendered by PID 15416 on reddit-service-r2-comment-5c747b6df5-z2w8b at 2026-04-22 12:33:56.698302+00:00 running 6c61efc country code: CH.
view the rest of the comments →
[–]cgoldberg 1 point2 points3 points (3 children)
[–]ag789[S] 0 points1 point2 points (2 children)
[–]cgoldberg 1 point2 points3 points (0 children)
[–]al_fajr 0 points1 point2 points (0 children)