Closed tellts closed 1 year ago
lmao this has nothing to do with the webdriver not working and everything to do with you not using selenium correctly.
I found a portable version of the April Firefox release, that is, the one that was released when the webdriver release was published. As well as instructions on how to bind it to the webdriver in the context of path visibility. But just haven't tried it yet.
As @emwitchcraft already said this is not an issue with geckodriver but the Selenium framework / binding that you are using. Please consult their documentation in how to do it right.
System
Testcase
from selenium import webdriver import time
driver = webdriver.Firefox(executable_path="C:\webdriver\geckodriver.exe")
time.sleep(5) driver.quit()
Stacktrace
Trace-level log
c:\parsing\bs\DynamicBS\dbs1_3.py:5: DeprecationWarning: executable_path has been deprecated, please pass in a Service object driver = webdriver.Firefox(executable_path="C:\webdriver\geckodriver.exe")
I ask you to write a version of the browser with which the webdriver starts up and works fine.