Thanks for pointing that out. i just kind of rushed to simply replace FF with Chrome ... my bad.
However, i now ran into a different exception ("Chrome failed to start: crashed") after i downloaded ChromeDriver 2.21 from
https://sites.google.com/a/chromium.org/chromedriver/ and put it in /usr/bin
[code snippet]
...
driver = webdriver.Chrome(executable_path='/usr/bin/chromedriver')
The output of "file /usr/bin/chromedriver" is:
/usr/bin/chromedriver: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked,
BuildID[sha1]=86747d6354b01d908c3bda349727e74a9da3eb13, stripped
[program output]
Traceback (most recent call last):
File "./t.py", line 9, in <module>
driver = webdriver.Chrome(executable_path='/usr/bin/chromedriver') # Optional argument, if not specified will search path.
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 67, in __init__
desired_capabilities=desired_capabilities)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 91, in __init__
self.start_session(desired_capabilities, browser_profile)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 173, in start_session
'desiredCapabilities': desired_capabilities,
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 233, in execute
self.error_handler.check_response(response)
File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 194, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: Chrome failed to start: crashed
(Driver info: chromedriver=2.21.371461 (633e689b520b25f3e264a2ede6b74ccc23cb636a),platform=Linux 4.2.0-35-generic x86_64)
Is this due to some kind of incompatibility? If so, is there a compatibility matrix somewhere that i can reference?