Selenium Grid + Jenkins: Missing location header

上一篇 / 下一篇  2013-12-25 16:44:12 / 个人分类:Webdriver

DesiredCapabilitiescapabilities=DesiredCapabilities.firefox();
WebDriver driver = new RemoteWebDriver ( new URL("http://localhost:4444/wd/hub"), capabilities);

org.openqa.selenium.WebDriverException:Errorforwarding thenewsessionnewsession requestforwebdriver should contain a location header with the session.Commandduration or timeout:25.28secondsBuildinfo:version:'2.35.0',revision:'8df0c6bedf70ff9f22c647788f9fe9c8d22210e2',time:'2013-08-17 12:46:41'Systeminfo:os.name:'Linux',os.arch:'amd64',os.version:'3.8.0-31-generic',java.version:'1.7.0_40'Driverinfo:org.openqa.selenium.remote.RemoteWebDriver

解决
1.
openhttp://localhost:4444/with a browser, it says:You are using grid 2.29.0

2.

used Selenium Version 2.29 as node. And installed Firefox Version 18


TAG:

 

评分:0

我来说两句

Open Toolbar