-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stuck in certificate selection #2390
Comments
I see several things that can be improved:
(Use existing args rather than passing to
(There's a Stack Overflow post about the newer headless mode here: https://stackoverflow.com/a/73840130/7058266 - which is triggered by
(The
You shouldn't have to use Use the built-in click methods for clicking: driver.click(selector)
driver.js_click(selector)
driver.uc_click(selector) (And especially since you're using UC Mode, you'll may need to use one of those to click without getting stuck.) |
Thanks! I will test these approaches |
Hi again! Did the changes, but still not working, here is the new code:
|
It stops in this screen. But when running on my local computer, it runs with no problem. Here is my container:
@mdmintz Any ideas? |
Looks more like a Dockerfile config issue than a SeleniumBase one since it's working in your other environment. I don't have any more suggestions to offer other than the ones I already provided. |
Hi @mdmintz , i found the problem! If anyone has this problem, i solved it in this way:
On main,py:
Best regards, |
Hi, @Ramonrune , i set the code like this: chromium_arg = ( i'm using windows, normal PC. But the code doesn't work. Any suggestions? |
Hi!
I'am using selenium base to bypass one site. It works really well on my PC and on EC2/Virtual box. I'am creating a docker container for it, but when i run the code inside a container, it stucks in certificate selection part.
Here is a simple code:
Here is my dockerfile:
In the final part, there is a captcha too, which i use another solution to break (not on the above code).
Notice that policies.json is the following:
{
"AutoSelectCertificateForUrls": ["{"pattern":"*","filter":{}}"]
}
Any ideas about what is could be? Code runs easily on my pc, but in container it is stucked.
The text was updated successfully, but these errors were encountered: