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

IEDriverServer install throws error #216

Closed
navdeepgaur opened this issue Aug 9, 2021 · 0 comments · Fixed by #228
Closed

IEDriverServer install throws error #216

navdeepgaur opened this issue Aug 9, 2021 · 0 comments · Fixed by #228
Assignees

Comments

@navdeepgaur
Copy link

since 05/08/2021, IE DRiverManager for win32 throws below error:

====== WebDriver manager ======
There is no [Win32] IEDriverServer for browser  in cache
Traceback (most recent call last):
  File "C:\Users\ngaur\AppData\Local\JetBrains\PyCharm Community Edition 2021.1\plugins\python-ce\helpers\pydev\pydevd.py", line 1483, in _exec
    pydev_imports.execfile(file, globals, locals)  # execute the script
  File "C:\Users\ngaur\AppData\Local\JetBrains\PyCharm Community Edition 2021.1\plugins\python-ce\helpers\pydev\_pydev_imps\_pydev_execfile.py", line 18, in execfile
    exec(compile(contents+"\n", file, 'exec'), glob, loc)
  File "C:/COLT/installs/startup_helpers/auto_pam.py", line 62, in <module>
    driver = webdriver.Ie(IEDriverManager(os_type="win32").install())
  File "C:\COLT\installs\startup_helpers\venv\lib\site-packages\webdriver_manager\microsoft.py", line 25, in install
    return self._get_driver_path(self.driver)
  File "C:\COLT\installs\startup_helpers\venv\lib\site-packages\webdriver_manager\manager.py", line 30, in _get_driver_path
    file = download_file(driver.get_url())
  File "C:\COLT\installs\startup_helpers\venv\lib\site-packages\webdriver_manager\driver.py", line 172, in get_url
    major, minor, patch = self.__get_divided_version(self.get_version())
  File "C:\COLT\installs\startup_helpers\venv\lib\site-packages\webdriver_manager\driver.py", line 185, in __get_divided_version
    raise ValueError(
ValueError: Version must consist of major, minor and/or patch, but given was: .3.150.2

The reason for this is that the most recently modified win_32 IEDriverServer entry in the XML returned by http://selenium-release.storage.googleapis.com/

image

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