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

WebDriverException: Message: unknown error: failed to change window state to 'minimized', current state is 'normal' #76

Open
sBajeot opened this issue Apr 24, 2024 · 1 comment

Comments

@sBajeot
Copy link

sBajeot commented Apr 24, 2024

Hi, I face a problem using datacamp courses. I got the error:

ErrorDatacamp-downloader2

The error seems coming from self.session.driver.minimize_window() in get_profile_data in datacamp_utils.py:

ErrorDatacamp-downloader

My configuration is python 3.11.5, selenium 4.19.0, undetected-chromedriver 3.5.5 and Chrome version 124.
I precise also that I changed import undetected_chromedriver.v2 as uc to import undetected_chromedriver as uc in session.py and I'm able to connect myself using datacamp set-token.

Does anyone have an idea how to solve it?
Thanks

@KingChrist1
Copy link

check this forked repo and I've made some downgrades
https://github.com/KingChrist1/datacamp-download-course

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