BrowserNotFoundError

i get

BrowserNotFoundError

it opens Safari on my system even though I have Google Chrome set as my default browser.
any tips?
running

Open The Intranet Website
Open Available Browser https://robotsparebinindustries.com/

trying
Open Browser https://robotsparebinindustries.com/ Chrome

but new error

insert sales data for the week and export as PDF | FAIL |
WebDriverException: Message: ‘chromedriver’ executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home

confused.

OK so now chromedriver is in my path but I still get the same error

insert sales data for the week and export as PDF                      | FAIL |
WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see 
https://sites.google.com/a/chromium.org/chromedriver/home

echo $PATH

(base) maxhodges@maxbookpro ~ % echo $PATH

scroll for it
/Users/maxhodges/opt/anaconda3/bin:/Users/maxhodges/opt/anaconda3/condabin:/Users/maxhodges/.nvm/versions/node/v8.11.4/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/maxhodges/Documents/webdrivers

Thank you for the report @max. I will look into your problem more detail on Monday.

btw are you the same Max I talked with on Developers Slack about Unicode problem on Saturday ? Were you able already to solve problem with chromedriver and then got the unicode problem next ?

2 Likes

You can test if it actually is in the python PATH, if you open a cmd and type in chromedriver and hit Enter. If Starting ChromeDriver 2.15.322448 is appearing, the PATH is set appropriately and there is something else going wrong. Then try the following:

Download ChromeDriver

Then you have multiple options:

  • Add it to your system path
  • Put it in the same directory as your python script
  • Specify the location directly via executable_path

driver = webdriver.Chrome(executable_path=‘C:/path/to/chromedriver.exe’)

1 Like