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

needs chromedriver path modularity #6

Open
Wingman4l7 opened this issue Feb 3, 2021 · 0 comments
Open

needs chromedriver path modularity #6

Wingman4l7 opened this issue Feb 3, 2021 · 0 comments

Comments

@Wingman4l7
Copy link
Owner

Wingman4l7 commented Feb 3, 2021

Notes On Getting this to work on macOS

  • set executable_path in main() to '/usr/local/bin/chromedriver'

  • figure out the path to the chromedriver binary (this assumes you installed chromedriver with homebrew)

    • declare in the shell: CDP=/usr/local/Caskroom/chromedriver/<chromedriver_version_number>/chromedriver
  • then remove that goddamn annoying Apple quarantine flag on executables:

    • run in the shell: xattr -d com.apple.quarantine $CDP

In the future, I probably should refactor to have the chromedriver path just another line in the config file.

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