启动FirefoxDriver时抛异常UnsupportedCommandException:Bad request.

上一篇 / 下一篇  2014-11-17 15:15:10 / 个人分类:WebDriver

打开C:\windows\system32\drivers\etc\hosts文件,在首行添加:
127.0.0.1 localhost

(切记:在首行)

另请参考来源:http://seleniumforum.forumotion.net/t717-trouble-with-creating-an-firefoxdriver-object

TAG:

 

评分:0

我来说两句

Open Toolbar