You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
gdd.get_download_path()
File "C:\Program Files\Python37\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 264, in get_download_path
return os.path.join(self.download_root, "gecko", ver)
UnboundLocalError: local variable 'ver' referenced before assignment
The text was updated successfully, but these errors were encountered:
Not sure about this error but if you are trying to get the location of the driver to pass to the Firefox constructor I use a different approach which works: driver_path = GeckoDriverDownloader().download_and_install() print(driver_path[0]) print(GeckoDriverDownloader().get_download_path())
I just pass driver_path.
get_download_path() works for me (Windows 10, Python 3.8) but prints something I co not need:
C:\Users<my_username>\webdriver\gecko\v0.26.0
gdd.get_download_path()
File "C:\Program Files\Python37\lib\site-packages\webdriverdownloader\webdriverdownloader.py", line 264, in get_download_path
return os.path.join(self.download_root, "gecko", ver)
UnboundLocalError: local variable 'ver' referenced before assignment
The text was updated successfully, but these errors were encountered: