标签:error ssi asc role abi browser .com 执行 1.5
初衷是想实现一个Remote实例,也是刚学selenum-grid,就迫不及待写个脚本运行看看效果;
显示报错:selenium.common.exceptions.WebDriverException: Message: Error forwarding the new session Empty pool of VM for setup Capabilities {browserName: firefox, javascriptEnabled: true, version: }
原因是启动Selenium Server的命令不对:
java -jar D://*//selenium-server-standalone-3.141.59.jar -role hub -port 4444
改为: java -jar D://*//selenium-server-standalone-3.141.59.jar
这里我只想看看Remote()方法,就没有配置hub和node节点;
标签:error ssi asc role abi browser .com 执行 1.5
原文地址:https://www.cnblogs.com/ch2018/p/10076053.html