The code I tried is below...
from selenium import webdriver
webdriver.ChromeOptions().binary_location = '/usr/lib/chromium-browser/chromium-browser'
driver = webdriver.Chrome()
...
Which pops up a Chrome browser.
I swear in the past this worked, and I've double checked that running the specified location from my shell starts Chromium. I'm using version 23.x of chromedriver. I can try 26 or whatever the latest is, but I figured making more changes wouldn't be a good idea. I have updated Chrome and Chromium a number of times since I last saw this work, but as I said the location appears correct.
Thanks for any tips or URLs.
--
You received this message because you are subscribed to the Google Groups "ChromeDriver Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromedriver-us...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
“Check the python documentation…” I’m a bit of a python newb, so where is this? I’ve tried a lot of searches and found bits and pieces around, but no definitive documentation. Also I know python can have built in documentation, but I haven’t seen how to access it easily. I use PyCharm if that helps…I should probably just Google this myself.
And thanks for the correct way to use this. Is it expected I get the same driver.capabilities[‘browserName’] from both? (u’chrome’)