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

Exception: driver not found for selenium #42

Closed
huseyincenik opened this issue Sep 28, 2024 · 2 comments · Fixed by #43
Closed

Exception: driver not found for selenium #42

huseyincenik opened this issue Sep 28, 2024 · 2 comments · Fixed by #43

Comments

@huseyincenik
Copy link

Traceback (most recent call last):

File "app.py", line 5, in
account = LinkedInAccount(
File "anaconda3\envs\r_base_n\lib\site-packages\staffspy_init_.py", line 33, in init
self.login()
File "anaconda3\envs\r_base_n\lib\site-packages\staffspy_init_.py", line 38, in login
self.session = login.load_session()
File "anaconda3\envs\r_base_n\lib\site-packages\staffspy\utils\utils.py", line 241, in load_session
session = self.login_browser()
File "anaconda3\envs\r_base_n\lib\site-packages\staffspy\utils\utils.py", line 211, in login_browser
raise Exception("driver not found for selenium")
Exception: driver not found for selenium

Even though I installed the package as you suggested, I am still getting the "driver not found for selenium" error.

@cullenwatson
Copy link
Owner

true, added a way to specify the path of your installed chromedriver

account = LinkedInAccount(
     driver_type=DriverType(
         browser_type=BrowserType.CHROME,
         executable_path="/Users/pc/chromedriver-mac-arm64/chromedriver"
    ),
)

@huseyincenik
Copy link
Author

Thank you

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

Successfully merging a pull request may close this issue.

2 participants