[🐛 Bug]: Initialization of WebDriver failed when executed tests in parallel
See original GitHub issueWhat happened?
Selenium Manager is not ready to be executed simultaneously.
How can we reproduce the issue?
Execute tests in parallel using .NET binding when cache of Selenium Manager is empty.
Relevant log output
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: Uncategorized, message: "The process cannot access the file because it is being used by another process." }', src\files.rs:70:53
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Operating System
Windows 10
Selenium version
4.6.0
What are the browser(s) and version(s) where you see this issue?
Chrome
What are the browser driver(s) and version(s) where you see this issue?
Selenium Manager
Are you using Selenium Grid?
No response
Issue Analytics
- State:
- Created 10 months ago
- Reactions:1
- Comments:9 (8 by maintainers)
Top Results From Across the Web
TestNG Parallel execution always fails when i run more than ...
1 Answer 1 ... Try to not make the main class static. Create a class that makes an instance of the class and...
Read more >TestNG parallel execution get failed becouse im using same ...
Unfortunately, I'm using the same web driver which initialized at the test base class on all the tests. Because of that, I believe...
Read more >Parallel mode failing to execute - Katalon Studio
Hello Everyone, I am facing one problem regarding parallel mode execution: When I run test suite collection which contains 2 test suite in...
Read more >Selenium Grid Tutorial: Setup and Example of Cross Browser ...
Selenium Grid Tutorial to learn how to run multiple tests simultaneously. Selenium grid setup with example and Cross browser testing to run ...
Read more >Extent Reports in Selenium with TestNG
In order to listen to test events such as passed, failed, ... Log.warn(message); //Error Level Logs public static void error (String ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

@bonigarcia I tested it as well, works good. Thanks.
ConsoleApp4.zip
This example starts 10 chrome browsers in parallel. To run it in console
dotnet run.