Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/20.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测试?_Selenium_Selenium Rc_Selenium Grid - Fatal编程技术网

如何在一个浏览器窗口中在网格中运行Selenium测试?

如何在一个浏览器窗口中在网格中运行Selenium测试?,selenium,selenium-rc,selenium-grid,Selenium,Selenium Rc,Selenium Grid,当仅使用Selenium服务器时,可以在单浏览器窗口中使用设置运行测试 -java -jar selenium-server-standalone-2.2.0.jar -singleWindow 当切换到网格2时,-singleWindow参数不再工作 非常感谢您的帮助。通过运行以下命令实现了这一点: java -jar selenium-server-standalone-2.2.0.jar -role webdriver -singleWindow -hub http://192.1

当仅使用Selenium服务器时,可以在单浏览器窗口中使用设置运行测试

-java -jar selenium-server-standalone-2.2.0.jar -singleWindow
当切换到网格2时,-singleWindow参数不再工作


非常感谢您的帮助。

通过运行以下命令实现了这一点:

   java -jar selenium-server-standalone-2.2.0.jar -role webdriver -singleWindow -hub http://192.168.1.149:4444/grid/register -port 5557

似乎参数的顺序很重要。

通过运行以下行实现了这一点:

   java -jar selenium-server-standalone-2.2.0.jar -role webdriver -singleWindow -hub http://192.168.1.149:4444/grid/register -port 5557

似乎参数的顺序很重要。

如何将singleWindow参数传递给RC节点?如何将singleWindow参数传递给RC节点?