appium / dotnet-client

Extension to the official Selenium dotnet webdriver
Apache License 2.0
381 stars 187 forks source link

I am confused about how should I use WinAppDriver on .NET in the future #711

Closed PeterHevesi closed 9 months ago

PeterHevesi commented 9 months ago

Because in your docs, it says I should use this fork: https://github.com/appium/appium-windows-driver

But it is just all Javascript, installing via npm, but I would like to use WinAppDriver in my .NET 8 project :) Is it possible? Or will it be possible in the future?

Dor-bl commented 9 months ago

Have you download the WAD from https://github.com/microsoft/WinAppDriver?

PeterHevesi commented 9 months ago

Yeah sure, I am already using it :) I use it with Appium.WebDriver 4.4.5, and it is working good, so I can just stay forever on this version :D But I was curious, if is it some way to upgrade to Appium.WebDriver 5 and still using WinAppDriver with it in .NET 8 project? I am just afraid, that this Appium.WebDriver 4.4.5 might stop to work sometimes in the future with some newer .NETs or Visual Studios... And still, there will be some bug fixes and improvements on newer versions of Appium, so if I stay on 4.4.5 forever, I will never get these new features and bug fixes...

Dor-bl commented 9 months ago

@PeterHevesi You can upgrade to Appium dotnet 5, and it's highly recommended. Just keep in mind you will probably have some issues with some of the actions since MS abandoned the WAD you can read more about this on the following topic: https://github.com/appium/dotnet-client/issues/487.

Dor-bl commented 9 months ago

@PeterHevesi, Can I close this issue?

PeterHevesi commented 9 months ago

Yeah sure, you can close it, you showed me the other thread so I will try it when I have time. Thanks for your help :)