Skip to content

[🐛 Bug]: Selenium Manager sometimes fails in parallel test run #11620

@attila-fazekas

Description

@attila-fazekas

What happened?

Have noticed that sometimes Selenium Manager fails to configure driver executable path if tests are run in parallel.

Environment:
Java: Oracle OpenJDK 17.0.2
Gradle: 7.4

Was able to reproduce it both with jUnit and TestNG, please see the code in the repository below.

Before running tests, make sure neither specific driver locations provided, nor PATH environment variable set for drivers.
Run the tests until you get java.lang.IllegalStateException: The path to the driver executable... exception.

How can we reproduce the issue?

https://github.com/attila-fazekas/selenium-manager-parallel-run

Relevant log output

https://github.com/attila-fazekas/selenium-manager-parallel-run/tree/main/logs

Operating System

macOS Mojave

Selenium version

Java 4.8

What are the browser(s) and version(s) where you see this issue?

Chrome 109.0.5414.119, Firefox 108.0.1, Edge 109.0.1518.70

What are the browser driver(s) and version(s) where you see this issue?

ChromeDriver 109.0.5414.74, GeckoDriver 0.32.0, EdgeDriver 109.0.1518.70

Are you using Selenium Grid?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-javaJava BindingsC-rustRust code is mostly Selenium ManagerJ-awaiting answerQuestion asked of user; a reply moves it to triage again

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions