microsoft / WinAppDriver

Windows Application Driver
MIT License
3.66k stars 1.4k forks source link

How to launch WinappDriver with /forcequit in Appium ? #1125

Open Hoang-Minh opened 4 years ago

Hoang-Minh commented 4 years ago

If I want to launch WinAppDriver through Appium with /forcequit flag, how do I do it ?

var appCapabilities = new AppiumOptions(); appCapabilities.AddAdditionalCapability("forcequit", true);

Would the code above work ?

Thank you !

naeemakram commented 4 years ago

I believe it is not implemented, at least this is what I think after some googling around.

naeemakram commented 4 years ago

I did it the following way and WinAppDriver didn't complain:. Don't know how it will impact the test methods. appCapabilities.AddAdditionalCapability("forcequit", "true");