Error opening browser using selenium RC using JUnit

I get the following error when opening a browser using selenium RC using JUnit. Help Plz.

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
+3
source share
1 answer

I would recommend setting the startURLIP address of the site you want to check.

See also this SO> answer .

+1
source

Source: https://habr.com/ru/post/1740733/


All Articles