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

WebDriver.__init__() got an unexpected keyword argument 'executable_path' #81

Open
arinewhouse opened this issue Jul 25, 2023 · 1 comment

Comments

@arinewhouse
Copy link

Not sure what the issue is here.


Traceback (most recent call last):
File "c:\Users*\Code\facebook_page_scraper\testing.py", line 14, in
json_data = meta_ai.scrap_to_json()
^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\
\Code\facebook_page_scraper\facebook_page_scraper\scraper.py", line 81, in scrap_to_json
self.__start_driver()
File "c:\Users\
\Code\facebook_page_scraper\facebook_page_scraper\scraper.py", line 58, in __start_driver
self.browser, self.proxy, self.headless).init()
^^^^^^
File "c:\Users\
\Code\facebook_page_scraper\facebook_page_scraper\driver_initialization.py", line 79, in init
driver = self.set_driver_for_browser(self.browser_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\
**\Code\facebook_page_scraper\facebook_page_scraper\driver_initialization.py", line 68, in set_driver_for_browser
return webdriver.Firefox(executable_path=GeckoDriverManager().install(),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Python311\Lib\site-packages\selenium_wire-5.1.0-py3.11.egg\seleniumwire\webdriver.py", line 179, in init
super().init(*args, **kwargs)
TypeError: WebDriver.init() got an unexpected keyword argument 'executable_path'


I'm running the example script in the README

@shaikhsajid1111
Copy link
Owner

What's your selenium version?

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

2 participants