-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Options().add_argument('--window-size=X,X') stopped working since 3.4.5; Last working version 3.4.4 #1100
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
Comments
I seem encountered the same problem. |
damn versioning **patch to fix headless mode** currently headless undetected: https://i.imgur.com/CME9ElR.png (but still unsupported!) -https://stackoverflow.com/a/73840130/7058266 -https://support.google.com/chrome/a/answer/7679408#hdlssMod110 thanks @mdmintz for this info
just created an account to tell you i love you lol. lost 24h of my life trying to find workarounds, you are the man! |
I encountered the same problem.... ['--no-first-run --no-service-autorun --password-store=basic --no-default-browser-check --window-size=1200, 800', '--proxy-server=127.0.0.1:2226', '--proxy-bypass-list=<-loopback>', '--remote-debugging-host=127.0.0.1', '--remote-debugging-port=2230', '--user-data-dir=C:\Users\achil\AppData\Local\Temp\tmpa06lg9u0', '--lang=zh-CN', '--no-default-browser-check', '--no-first-run', '--no-sandbox', '--test-type', '--window-size=1920,1080', '--start-maximized', '--no-sandbox', '--log-level=0'] I found only the bold part is from my script, others from |
At undetected_chromedriver/init.py#L379, undetected-chromedriver adds some arguments by default:/ |
I also encountered this issue, is there any solution? Rolling back to 3.4.4 also requires an older version of the browser, which is not what I want. |
I have find a solution. |
i solved the problem: |
Hi!
I just want to inform that
Options().add_argument('--window-size=X,X')
stopped working since version 3.4.5 (also not working in 3.4.6). Last working version is 3.4.4. I had hard time today debugging this so I'm posting this just in case someone else would be able to avoid those troubles.The text was updated successfully, but these errors were encountered: