New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Exception in thread "main" org.openqa.selenium.WebDriverException: Timed out waiting 45 seconds for Firefox to start. #1099
Comments
I am also getting same error. By the way what was the last stable configuration you were able to run? |
Actually I also tried running the above code by using marionette in the Set property and setCapability of marionette to true, but in best possible case only browser was opened and not able to open the URL. |
Could you please attach a trace-level log from geckodriver? Read more about reporting actionable bugs in our contribution guidelines. |
Solved. I ran the above code and it worked fine with below trace level log. Thank you for the help and support for taking the issue in consideration. |
Facing same issue, Windows 10(64 bit), Selenium 3.8.1, geckodriver 0.19.0. Error mentioned below: How this can be solved, i have already dereferenced all the selenium-java jar from my project and again downloaded most recent jar files and included those my project. |
@Anki1208 Please don’t hijack a resolved issue. There’s nothing in the stack trace you attached that indicates it is the same issue. It looks to me that you’re using the old FirefoxDriver and not geckodriver, but please open a new issue so we can continue there. |
System
Java :openjdk version "1.8.0_151"
OS : Ubuntu (16.04 LTS)
Browser : Mozilla Firefox 57.0.1 (64-bit)
**Selenium ** : 3.8.1
Geckodriver :0.19.0
Browser is opened but unable to open the URL.
Code
package newpackage;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.firefox.FirefoxDriver;
public class Myclass {
}
After running the above code, only browser is opened and unable to open the specified url and following error is given
Stacktrace
Dec 13, 2017 1:55:32 AM org.openqa.selenium.remote.DesiredCapabilities firefox
INFO: Using
new FirefoxOptions()
is preferred toDesiredCapabilities.firefox()
Exception in thread "main" org.openqa.selenium.WebDriverException: Timed out waiting 45 seconds for Firefox to start.
Build info: version: '3.8.1', revision: '6e95a6684b', time: '2017-12-01T19:05:14.666Z'
System info: host: 'sanchit-Vostro-3558', ip: '127.0.1.1', os.name: 'Linux', os.arch: 'amd64', os.version: '4.4.0-101-generic', java.version: '1.8.0_151'
Driver info: driver.version: FirefoxDriver
at org.openqa.selenium.firefox.XpiDriverService.waitUntilAvailable(XpiDriverService.java:131)
at org.openqa.selenium.firefox.XpiDriverService.start(XpiDriverService.java:116)
at org.openqa.selenium.remote.service.DriverCommandExecutor.execute(DriverCommandExecutor.java:79)
at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:601)
at org.openqa.selenium.remote.RemoteWebDriver.startSession(RemoteWebDriver.java:219)
at org.openqa.selenium.remote.RemoteWebDriver.(RemoteWebDriver.java:142)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:120)
at org.openqa.selenium.firefox.FirefoxDriver.(FirefoxDriver.java:106)
at newpackage.Myclass.main(Myclass.java:15)
Caused by: org.openqa.selenium.net.UrlChecker$TimeoutException: Timed out waiting for [http://localhost:7081/hub/status] to be available after 45003 ms
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:100)
at org.openqa.selenium.firefox.XpiDriverService.waitUntilAvailable(XpiDriverService.java:129)
... 8 more
Caused by: java.util.concurrent.TimeoutException
at java.util.concurrent.FutureTask.get(FutureTask.java:205)
at com.google.common.util.concurrent.SimpleTimeLimiter.callWithTimeout(SimpleTimeLimiter.java:147)
at org.openqa.selenium.net.UrlChecker.waitUntilAvailable(UrlChecker.java:75)
... 9 more
The text was updated successfully, but these errors were encountered: