-1

I want to selenium in python. But, it doesn’t work..

selenium.common.exceptions.WebDriverException: Message: Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line

I have already installed geckodriver, but it doesn’t work. I don’t know how I can do.
*two ways:
1. mv that file into my directory (/usr/local/bin)
2. brew install geckodriver

Please help me!

joshua kim
  • 21
  • 3

1 Answers1

0

Try to use parameter: executable_path = when calling the WebDriver.