error while opening browser with selenium RC using JUnit
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.
精彩评论