-
-
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 Manager is not working with .NetCore Project having Specflow.Specrun as runner. #11419
Comments
@miaskadu, 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! |
@miaskadu Can you try with Selenium Manager 4.7.0, please? |
Tried with 4.7.0 too. It didn't worked. Can you try in your end. You will
see the line saying Chromedriver. exe not found.
…On Tue, Dec 13, 2022, 7:22 PM Boni García ***@***.***> wrote:
@miaskadu <https://github.com/miaskadu> Can you try with Selenium Manager
4.7.0, please?
—
Reply to this email directly, view it on GitHub
<#11419 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AICDTCJJMK6MDTHWFK7VATLWNB5SFANCNFSM6AAAAAAS46Z774>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I am not an expert in .Net, but I tried the following and it works as expected: .csproj <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>netcoreapp3.1</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Selenium.WebDriver" Version="4.7.0" />
</ItemGroup>
</Project> .cs using System;
using OpenQA.Selenium.Chrome;
namespace Example {
static class BasicSelenium {
[STAThread]
static void Main()
{
var driver = new ChromeDriver();
driver.Quit();
}
}
} shell
@miaskadu Maybe you can provide a running piece of code to try to reproduce the issue. |
Problem occurs when you use Specflow+Runner Project. Please find below step to create Specflow Project
|
You apparently need a specflow account to run this code, so we can't duplicate it. If it is working with some Specflow products and not others, I suggest raising the issue with Specflow devs. |
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?
Hello,
I have recently tried using Selenium Manager which downloads matching driver based on Chrome Installed without using any external library. But it does not work for me using .Net 3.1 Project having Specflow.Specrun as runner, it works perfectly with Specflow.Nunit & Specflow.Xunit.
Problem with Specflow.Nunit & Specflow.Xunit is that it does not support Default.srprofile setting due to which retry & parallel execution will stop working.
Can someone suggest any alternative solution to this?
How can we reproduce the issue?
Relevant log output
Operating System
Windows 10
Selenium version
4.6.0
What are the browser(s) and version(s) where you see this issue?
Chrome - 108.0.5359.99
What are the browser driver(s) and version(s) where you see this issue?
Chrome - 108.0.5359.99
Are you using Selenium Grid?
No response
The text was updated successfully, but these errors were encountered: