Arvind
Arvind

Reputation: 31

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.HttpCommandProcessor.throwAssertionFailureExceptionOrError(HttpCommandProcessor.java:97)
at com.thoughtworks.selenium.HttpCommandProcessor.doCommand

Upvotes: 3

Views: 1754

Answers (1)

VonC
VonC

Reputation: 1323753

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

See also this SO answer.

Upvotes: 1

Related Questions