After installing the latest windriver and starting it.
I' have tried to write my first test
`
private new WindowsDriver? _driver;
const string editorsDemoPath =
@"C:\Work\2022.1\Demos.Win\EditorsDemos\CS\EditorsMainDemo\bin\Debug\EditorsMainDemo.exe";
[ClassInitialize]
public static void TestFixtureSetup(TestContext context)
{
{
// Set up desired capabilities
var appCapabilities = new AppiumOptions();
appCapabilities.AddAdditionalAppiumOption("app", "Microsoft.WindowsCalculator_8wekyb3d8bbwe!App");
appCapabilities.AddAdditionalAppiumOption("deviceName", "WindowsPC");
// Initialize the Windows driver
var driver = new WindowsDriver<WindowsElement>(new Uri(
}
}
[ClassCleanup]
public static void TestFixtureTearDown()
{
_driver.Dispose();
}
`
but this produces an error
as WindowsDriver is unkown.
error (aktive) CS0308 Type "WindowsDriver" is not generic and can not be used as Typargument
Is there a solution for this possible
?
After installing the latest windriver and starting it.
I' have tried to write my first test
`
private new WindowsDriver? _driver;
const string editorsDemoPath =
@"C:\Work\2022.1\Demos.Win\EditorsDemos\CS\EditorsMainDemo\bin\Debug\EditorsMainDemo.exe";
`
but this produces an error
as WindowsDriver is unkown.
error (aktive) CS0308 Type "WindowsDriver" is not generic and can not be used as Typargument
Is there a solution for this possible
?