开发者

error while opening browser with selenium RC using JUnit

开发者 https://www.devze.com 2022-12-26 17:56 出处:网络
I am getting following error while opening browser with selenium RC using JUnit. Plz help. com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://www.google.com/ Response_Code = 403 Err

I am getting following error while opening browser with selenium RC using JUnit. Plz help.

com.thoughtworks.selenium.SeleniumException: XHR ERROR: URL = http://www.google.com/ Response_Code = 403 Error_Message = Forbidden
at com.thoughtworks.selenium.HttpComma开发者_JS百科ndProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand


I would recommend setting as startURL the Ip address of the site you want to test.

See also this SO answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号