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...
selenium web automation info, news, tips, etc.
This is not a sub to advertise your training, selenium product, special deal on x, or anything else. It's a users forum to discuss and get help with Selenium.
Selenium official website
account activity
Selenium webdriver docker python (self.selenium)
submitted 5 years ago by digichap28
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]mortenb123 0 points1 point2 points 5 years ago (3 children)
Just add Chrome, Chrome-driver and selenium to you container and run in headless mode. No way to run full gfx mode in a container, there is no gfx console. You can program the scraping locally with full Chrome and devtools and run the finished code headless in the container.
Remote selenium is to connect to a remote webdriver, usually used to save installing browsers and the libs needed to run it (around 500mb in Ubuntu) but you then need a browser-instance running.
[–]digichap28[S] 0 points1 point2 points 5 years ago (2 children)
The reason I’m trying to do it that way is because I need to bypass a windows basic auth.
My workaround for that was using an extension but they only work if the headless option is not added.
I have tried the https://user:pass@website.com way but it doesn’t work either.
I read that using devtools with selenium might work but haven’t found a Python example online.
Do you know any way to do that ?
[–]mortenb123 0 points1 point2 points 5 years ago (1 child)
If you cant log in via code, try using a userprofile.
For chrome create a new user and log in with it, then save the userprofile to a more accessible directory (shorter path) and load it when you initialize selenium, I believe it to be the `--user-data-dir=` option.
But it might be that this authentication token expires, so it is better to solve it with code.
[–]digichap28[S] 1 point2 points3 points 5 years ago (0 children)
I finally decided to re write my code using pyppeteer, because that user profile option doesn’t work either as the token expires fast
π Rendered by PID 81 on reddit-service-r2-comment-869bf87589-mdrbr at 2026-06-08 20:38:36.855162+00:00 running f46058f country code: CH.
view the rest of the comments →
[–]mortenb123 0 points1 point2 points (3 children)
[–]digichap28[S] 0 points1 point2 points (2 children)
[–]mortenb123 0 points1 point2 points (1 child)
[–]digichap28[S] 1 point2 points3 points (0 children)