Reputation: 1966
I am running webdriver 2.53.1 against firefox 45.9.0ESR on Redhat Linux 6.6. FirefoxDriver
object gets created successfully and firefox launches with blank page (about:blank
) as expected. But when I do the 'get' to open the url, it fails with UnreachableBrowserException
with underlying cause as org.apache.http.NoHttpResponseException: localhost:7055 failed to respond
.
Preferences set for FirefoxProfile
app.update.auto = false
app.update.enabled = false
app.update.silent = false
media.gmp-provider.enabled = false
webdriver.log.file = webdriver_debug.log
webdriver.firefox.logfile = firefox_browser.log
My observations
What I tried so far
navigate().to(url)
instead of get(url)
but result is same.NOTE: The JRE 7 is used for running
Upgrading Selenium We cannot upgrade the selenium or firefox as there are many other dependent layers to be upgraded for selenium/firefox to upgrade.
Upvotes: 0
Views: 59
Reputation: 17553
You need to update your jars files of selenium both server and client.
Download the latest jars from below link :-
http://www.seleniumhq.org/download/
You also need to update your gecko driver from below URL :-
https://github.com/mozilla/geckodriver/releases
Additionality update your firefox
Help -> About
Upvotes: 0