Error when running
diogo7santiago opened this issue · 1 comments
Getting this error:
(tutorial-env) C:\Users\RahMan PC\Desktop\virtualenv\tutorial-env\huntr-exporter-main>python main.py
Traceback (most recent call last):
File "C:\Users\RahMan PC\Desktop\virtualenv\tutorial-env\huntr-exporter-main\main.py", line 154, in
main()
File "C:\Users\RahMan PC\Desktop\virtualenv\tutorial-env\huntr-exporter-main\main.py", line 142, in main
driver = initialize_driver()
^^^^^^^^^^^^^^^^^^^
File "C:\Users\RahMan PC\Desktop\virtualenv\tutorial-env\huntr-exporter-main\main.py", line 132, in initialize_driver
driver = webdriver.Chrome(os.getenv("WEBDRIVER_PATH"), options=set_chrome_options(os.getenv("ENVIRONMENT")))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: WebDriver.init() got multiple values for argument 'options'
@diogo7santiago since you're on windows, are you updating your .env
file's WEBDRIVER_PATH
variable to point to the .exe
file instead of the binary that's meant for unix systems? By default it uses the linux binary for chromedriver