Closed GoogleCodeExporter closed 9 years ago
stvsmth
Unable to reproduce issue with chromedriver:2.16. Please try with latest
chromedriver:2.16 and let us know if you still facing the issue.
Please find below sample code:
from selenium import webdriver
from selenium.webdriver import ChromeOptions
log_path='/path/to/chromedriver.log'
chromedriver_path = "/path/to/chromedriver"
chrome_path = "/path/to/chrome"
opts = webdriver.ChromeOptions()
opts.binary_location = chrome_path
args = ['--verbose']
driver = webdriver.Chrome(executable_path=chromedriver_path, service_args=args,
service_log_path=log_path)
driver.get('http://www.google.com/xhtml')
sleep(5)
driver.quit()
Original comment by ssudunag...@chromium.org
on 22 Jun 2015 at 10:37
Well then .... Linus' recent rant about the Mac OS filesystem certainly rings
true for me today
Turns out that both commands below will return output ... but the filename of
the binary is MacOS not MacOs
12:05 $ file "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome"
/Applications/Google Chrome.app/Contents/MacOS/Google Chrome: Mach-O 64-bit
executable x86_64
12:07 $ file "/Applications/Google Chrome.app/Contents/MacOs/Google Chrome"
/Applications/Google Chrome.app/Contents/MacOs/Google Chrome: Mach-O 64-bit
executable x86_64
User error. Thanks.
Original comment by stvs...@gmail.com
on 23 Jun 2015 at 6:09
Closing issue as is not reproducible.
Original comment by ssudunag...@chromium.org
on 25 Jun 2015 at 6:37
[deleted comment]
+
In the path Google Chrome.app seems to be incorrect for CANARY it should be:-
options.binary_location = /Applications/Google Chrome
Canary.app/Contents/MacOS/Google Chrome Canary
And it worked for me.
Original comment by agau...@chromium.org
on 25 Jun 2015 at 7:31
Original issue reported on code.google.com by
stvs...@gmail.com
on 20 Jun 2015 at 11:06Attachments: