Python 带selenium网格的chromedriver-无此类文件或目录

Python 带selenium网格的chromedriver-无此类文件或目录,python,linux,selenium,selenium-grid,selenium-chromedriver,Python,Linux,Selenium,Selenium Grid,Selenium Chromedriver,我在设置的网格上运行chrome实例时遇到问题 我得到以下错误: ERROR [21] org.openqa.selenium.os.UnixProcess - org.apache.commons.exec.ExecuteException: Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program "/tmp/webdriver/chromedriver/chrome

我在设置的网格上运行chrome实例时遇到问题

我得到以下错误:

ERROR [21] org.openqa.selenium.os.UnixProcess - org.apache.commons.exec.ExecuteException:
Execution failed (Exit value: -559038737. Caused by java.io.IOException: Cannot run program
"/tmp/webdriver/chromedriver/chromedriver_2.13_32bit" (in directory "."): error=2, No such
file or directory)
我向您保证
/tmp/webdriver/chromedriver/chromedriver\u 2.13\u 32位
也存在它的可执行文件(chmod+x)

使用以下参数运行节点:

java -jar selenium-server-standalone-2.44.0.jar -port 5555 -role node -hub http://10.20.102.176:4444/grid/register -nodeConfig /opt/selenium/node_5555.json -Dwebdriver.chrome.driver=/tmp/webdriver/chromedriver/chromedriver_2.13_32bit
如果未提供驱动程序的路径,甚至将
symlink
设置为selenium的默认位置

/usr/local/bin/chromedriver

/usr/bin/chromedriver

但当我尝试运行某个东西时,仍然会出现相同的错误


额外信息-可能有助于:

我还试着在那台机器上从python运行chrome实例

from selenium.webdriver import Chrome

a = Chrome('/tmp/webdriver/chromedriver/chromedriver_2.13_32bit')
我得到的回溯是:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: __init__() got an unexpected keyword argument 'path'
>>> a = Chrome('/tmp/webdriver/chromedriver/chromedriver_2.13_32bit')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/webdriver.py", line 59, in __init__
    self.service.start()
  File "/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/service.py", line 66, in start
    "ChromeDriver executable needs to be available in the path. "
selenium.common.exceptions.WebDriverException: Message: ChromeDriver executable needs to be available in the path. Please download from http://chromedriver.storage.googleapis.com/index.html and read up at http://code.google.com/p/selenium/wiki/ChromeDriver
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
TypeError:\uuuu init\uuuuuuuuu()获取了意外的关键字参数“path”
>>>a=Chrome('/tmp/webdriver/chromedriver/chromedriver_2.13_32位')
回溯(最近一次呼叫最后一次):
文件“”,第1行,在
文件“/usr/local/lib/python2.7/dist packages/selenium/webdriver/chrome/webdriver.py”,第59行,在__
self.service.start()
文件“/usr/local/lib/python2.7/dist-packages/selenium/webdriver/chrome/service.py”,第66行,开始
“ChromeDriver可执行文件需要在路径中可用。”
selenium.common.exceptions.WebDriverException:消息:ChromeDriver可执行文件需要在路径中可用。请从http://chromedriver.storage.googleapis.com/index.html 并在http://code.google.com/p/selenium/wiki/ChromeDriver
我向谷歌集团寻求帮助,但没有得到回应


我遗漏了什么吗?

问题是,我试图在64位系统中运行32位bin文件

有两种解决方案:

我的服务器缺少
ia32 lib
-结果是,在64位系统中不能只运行32位
我所要做的就是:
sudo apt get install ia32 libs
添加对32位的支持

只需下载并使用64位Chromedriver