I am on Mac OS X using selenium with python 3.6.3.
This code runs fine, opens google chrome and chrome stays open.:
chrome_options = Options()
chrome
As per the code block you shared there can be 3 possible solutions as follows :
binary_location
you have to change the ..
to .
(.
denotes Project Workspace)binary_location
you have to change the ..
to /myspace/chrome
(Absolute Chrome Binary)While initiating the driver, add the switch executable_path
:
driver = webdriver.Chrome(chrome_options=options, executable_path=r'/your_path/chromedriver')