Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/oracle/10.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Selenium webdriver 行为+;含MinkExtension的硒网格_Selenium Webdriver_Selenium Grid_Behat - Fatal编程技术网

Selenium webdriver 行为+;含MinkExtension的硒网格

Selenium webdriver 行为+;含MinkExtension的硒网格,selenium-webdriver,selenium-grid,behat,Selenium Webdriver,Selenium Grid,Behat,我正在使用Behat、mink和selenium2进行集成测试,并在我的VM(linux)上编写测试,我想启动firefox(在Windows机器上)来测试Ajaxified功能。因此,我运行了两个selenium服务器(node和hub),它们可以相互通信,当我在Linux上运行测试时,firefox打开了,但浏览器上没有出现url,我得到以下错误: 异常“WebDriver\exception\UnknowError”,消息为“转发新会话时出错WebDriver的新会话请求应包含会话的位置标

我正在使用Behat、mink和selenium2进行集成测试,并在我的VM(linux)上编写测试,我想启动firefox(在Windows机器上)来测试Ajaxified功能。因此,我运行了两个selenium服务器(node和hub),它们可以相互通信,当我在Linux上运行测试时,firefox打开了,但浏览器上没有出现url,我得到以下错误:

异常“WebDriver\exception\UnknowError”,消息为“转发新会话时出错WebDriver的新会话请求应包含会话的位置标头”。在vendor/instaclick/php WebDriver/lib/WebDriver/exception.php:157中

我在Windows机器(节点)上使用selenium-server-standalone-2.35.0.jar,在VM(集线器)上使用selenium-server-standalone-2.28.0.jar

我们将非常感谢您的帮助

干杯,
Orod

此版本有任何更新吗?我不确定这是否是同一个问题,但我必须将浏览器版本功能设置为空字符串,以便集线器选择节点(请参阅)。如果在同一台linux计算机上同时运行客户端和集线器,是否有效?可能问题不在于系统间通信和驱动程序版本的差异,而在于所使用的底层代码的一些问题?