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

download_and_install failure - "unsupported operand type(s) for /: 'PosixPath' and 'bytes'" #78

Closed Lvl4Sword closed 2 years ago

Lvl4Sword commented 2 years ago

Simply trying

a = GeckoDriverManager() geckodriver_dir = a.download_and_install() print(geckodriver_dir)

Gives the following:

File "/home/user/venv/lib/python3.8/site-packages/webdrivermanager/base.py", line 271, in download_and_install filename_with_path = self.download(version, show_progress_bar=show_progress_bar) File "/home/user/venv/lib/python3.8/site-packages/webdrivermanager/base.py", line 230, in download filename_with_path = dl_path / filename TypeError: unsupported operand type(s) for /: 'PosixPath' and 'bytes'

Lvl4Sword commented 2 years ago

Not quite sure what the hiccup was, but seems to be working now