使用Selenium Grid我想指定代理服务器。
当前代码:
caps = {
"proxy": {
"proxyType": "MANUAL",
"httpProxy": "104.199.70.128:30687",
"sslProxy": "104.199.70.128:30687"
},
... }
我收到了这个错误
WebDriverError: cannot create session firefox on any hosts after 1 attempt(s), last host error was: InvalidArgumentError: Expected [object Undefined] undefined to be an integer
使用chrome和opera可以正常工作。