Skip to content
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

Driver getting detected when I run my code in docker container #634

Closed
rutul-spearline opened this issue May 18, 2022 · 1 comment
Closed

Comments

@rutul-spearline
Copy link

Hi

I have developed a script in which I want to reach destination url after login in Google. Google Login was working fine in headless mode using selenium-wire, undetected-chromedriver when it was not in docker container. So driver was not getting detected. But, after I put that code in docker container it started giving in error in login page.

This browser or app may not be secure.

Also, I created python virtual environment added same code. In that also it is working fine.

I tried all different ways to resolve the issue but didn't get success.

  1. Tried different headers
  2. Tried different user agents
  3. Tried to upgrade/downgrade chrome to latest versions and older versions

I need help to resolve issue in docker container. Is there any way to detect the difference how undetected-chromedriver is working in with and without container ? so that I can know what is missing in container that is required by undetected-chromedriver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants