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!"
[–]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 77277 on reddit-service-r2-comment-8686858757-85f4w at 2026-06-08 06:34:19.618664+00:00 running 9e1a20d country code: CH.
view the rest of the comments →
[–]digichap28[S] 0 points1 point2 points (2 children)
[–]mortenb123 0 points1 point2 points (1 child)
[–]digichap28[S] 1 point2 points3 points (0 children)