jsoma / selenium-github-actions

MIT License
96 stars 74 forks source link

cannot import name 'ChromeType' from 'webdriver_manager.core.utils' #12

Open RedPaladin opened 3 months ago

RedPaladin commented 3 months ago

While running the workflow, I got the following error:

Run python scraper.py Traceback (most recent call last): File "/home/runner/work/selenium-github-actions/selenium-github-actions/scraper.py", line 3, in from webdriver_manager.core.utils import ChromeType ImportError: cannot import name 'ChromeType' from 'webdriver_manager.core.utils' (/opt/hostedtoolcache/Python/3.9.19/x64/lib/python3.9/site-packages/webdriver_manager/core/utils.py) Error: Process completed with exit code 1.

Hope you can help me.

webircle-master commented 3 months ago

I am facing the same issue.

webircle-master commented 3 months ago

Oop! Found the fix. Use from webdriver_manager.core.os_manager import ChromeType

Check this documentation