MarketSquare / webdrivermanager

Python module to facilitate downloading and deploying WebDriver binaries for Chrome, Firefox, Opera & Edge
https://pypi.org/project/webdrivermanager/
MIT License
100 stars 38 forks source link

Fix IE download due to corrupt filename in googleapis repo #77

Open lmartorella opened 2 years ago

lmartorella commented 2 years ago

It seems that someone uploaded a non-matching file name in the official repo:

<Contents>
  <Key>3.150/IEDriverServer_Win32_.3.150.2.zip</Key>
  <!-- ... -->
</Contents>

(note the dot before the version part). This causes the command webdrivermanager ie:3.14.0 to crash.

The fix filters out the wrong filename, since it would not pass the regex. An alternative fix could be to allow the wrong name as well.

Thanks, L