Closed tarekahf closed 2 years ago
Duplicate of https://github.com/SeleniumHQ/selenium/issues/10354
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?
I was following the steps here:
https://www.fleekitsolutions.com/use-selenium-c-visual-studio-code/
To use Selenium 4 with vs code. I installed .NET 5 and .NET 6 SDK.
I created the sample Hello World Project using
dotnet new console
and tried to import the Selenium.WebDriver package using NuGet, and rundotnet restore
, I get the following error:error NU1100: Unable to resolve 'Selenium.WebDriver (>= 4.1.0)' for 'net6.0'.
What browsers and operating systems are you seeing the problem on?
How can we reproduce the issue?
Relevant log output
The OmniSharp server output will display the following:
Operating System
Windows 10 Enterprise
Selenium version
C# with .NET 6 and VSCode
What are the browser(s) and version(s) where you see this issue?
98.0.4758.82
What are the browser driver(s) and version(s) where you see this issue?
ChromeDriver 98.0.4758.82
Are you using Selenium Grid?
N/A