Firefox browser is not launching, even when we are using the latest version of Selenium WebDriver and browser

92 Views Asked by At

The Firefox browser is not launching in the QMetry framework with Selenium version 3.141.59. The browser version is 114.0.1 (64-bit) and the Selenium WebDriver version is geckodriver-v0.33.0-win32 and geckodriver-v0.33.0-win-aarch64. The QAF version is 3.0.1.

We are getting this error:

Timed out after 0 seconds: Unable to create driver instance in 1st attempt with retry timeout of 0 seconds. You can check/set value of 'driver.init.retry.timeout' appropriately to set retry timeout on driver initialization failure.

When I run simple Selenium web automation with the same configuration, its working fine.

1

There are 1 best solutions below

2
M.Zubair On

@ashwini As per the error you mentioned, you can adjust the value of the driver.init.retry.timeout property in your QMetry configuration. Increase the timeout value to allow more time for the driver initialization process. You can set it to a reasonable value based on your specific environment and requirements.