Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error with 'executable_path' - how to set the browser variable? #1

Open
derekb123 opened this issue Dec 27, 2023 · 0 comments
Open

Comments

@derekb123
Copy link

derekb123 commented Dec 27, 2023

Having some issues: I have unzipped the geckodriver in the main folder (in linux - both an .exe and an unzipped tar.gz), and am getting an error about the argument for webdriver.Firefox(executable_path=r'geckodriver.exe').

TypeError: WebDriver.__init__() got an unexpected keyword argument 'executable_path'

How are we supposed to set this this argument up, and what type of structure/format does the argument need to take?

Is the executable_path=r a placeholder? Does the argument take only a string path like '/home/user/pinterest-board-image-downloader/geckodriver.exe' or something? I tried it a few ways, including without an argument, and still hit errors.

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant