-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[🐛 Bug]: Selenium 4.16.x fails on selenium-manager.exe when vcuntime140.dll is not installed #13312
Comments
@dcdraper, thank you for creating this issue. We will troubleshoot it as soon as we can. Info for maintainersTriage this issue by using labels.
If information is missing, add a helpful comment and then
If the issue is a question, add the
If the issue is valid but there is no time to troubleshoot it, consider adding the
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable
After troubleshooting the issue, please add the Thank you! |
@dcdraper can you run the command on the downloaded version of Selenium-manager in the Debug directory and see if you get the same issue? We want to see if it is a dotnet issue or a binary issue on your computer. @nvborisenko will the new logging solution give us information about what SM is erroring with? |
We now have a similar issue on 4.16.x on Windows. Backing down to 4.15 is working just fine. We do install the latest vc redist runtime for x64 on the server, any attempt to run selenium-manager results in the -1073741515 error code. |
@RobLSDev what language? Or is this with the selenium manager executable directly? |
We are using .net 8.0, but I logged onto the VM and tried executing it directly. Even |
Duplicate of #13261 |
Aha, I thought it looked familiar. I looked for a change in the rust/ directory and didn't see anything It was fixed with a CI change. 4.17 will have the fix. |
Thank you everyone! Sorry about the duplicate report here; I didn't look thru closed issues :-/ |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
What happened?
The C# solution is not using the Selenium Manager feature to manage chromedriver or chrome browser at all, however as of 4.16.x the entire run fails with an application error on selenium-manager.exe with message "The code execution cannot proceed because VCRUNTIME140.dll was not found. Reinstalling the program may fix this program".
The 32-bit vcruntime140.dll is not installed on our agent machines (in the syswow64 folder) in our ADO pipelines and now the tests are completely failing when attempting to start Chrome browser due to this error, even though we are not relying on selenium manager to manage anything.
Is this new dependency on vcruntime140.dll intentional or in fact an issue? We fixed it by installing the x86 redistributable for Visual Studio 2015, 2017, 2019, and 2022 from https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#visual-studio-2015-2017-2019-and-2022
How can we reproduce the issue?
Relevant log output
Operating System
Windows 10
Selenium version
4.16.2
What are the browser(s) and version(s) where you see this issue?
Chrome Version 120.0.6099.109 (Official Build) (64-bit)
What are the browser driver(s) and version(s) where you see this issue?
chromedriver.exe x64 version 120.0.6099.71
Are you using Selenium Grid?
no
The text was updated successfully, but these errors were encountered: