ericmckean / chromedriver

Automatically exported from code.google.com/p/chromedriver
0 stars 0 forks source link

chromedriver don't work on my xubuntu #909

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Have some interesting problem with chromedriver.
I download it from you official page
http://chromedriver.storage.googleapis.com/index.html?path=2.10/
version 32bit
chromedriver --version
ChromeDriver 2.10.267517
chromium browser --version
Chromium 37.0.2062.120 Ubuntu 14.04
selenium
Name: selenium
Version: 2.43.0
Location: /usr/local/lib/python2.7/dist-packages
my OS
Linux tranter-VirtualBox 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:01 
UTC 2014 i686 i686 i686 GNU/Linux

The script:
from selenium import webdriver

driver = 
webdriver.Chrome(executable_path=r"/home/tranter/workspace/chromedriver")
driver.get("http://www.python.org")
driver.close()

the stacktrace:
tranter@tranter-VirtualBox:~/workspace$ python testchrome.py 
Traceback (most recent call last):
  File "testchrome.py", line 6, in <module>
    driver = webdriver.Chrome(executable_path=r"/home/tranter/workspace/chromedriver")
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 65, in __init__
    keep_alive=True)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 73, in __init__
    self.start_session(desired_capabilities, browser_profile)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 121, in start_session
    'desiredCapabilities': desired_capabilities,
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/webdriver.py", line 173, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/remote/errorhandler.py", line 166, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: u'unknown error: Chrome 
failed to start: exited abnormally\n  (Driver info: 
chromedriver=2.10.267517,platform=Linux 3.13.0-35-generic x86)' 
tranter@tranter-VirtualBox:~/workspace$ 

I try to ask about it on stackoverflow and one man said that I have old version 
of chromedriver
2.10.267517
and I need
2.10.267518
but where I can found it?

Original issue reported on code.google.com by seria...@gmail.com on 26 Sep 2014 at 7:08

GoogleCodeExporter commented 9 years ago

Original comment by samu...@chromium.org on 21 Feb 2015 at 12:18