[Bug]: The WindowsDriver
lacks support for ActivateApp
/TerminateApp
since LaunchApp
was removed and CloseApp
moved
#793
Labels
Description
In the 5.0.0 release there were changes to both
LaunchApp
andCloseApp
which both have been deprecated for some time. The alternatives suggest usingActivateApp
andTerminateApp
I believe. On windows however, neither of these are implemented in the driver and throw exceptions when you try to call them.LaunchApp
was removed completelyCloseApp
was moved from the appium driver to the windows specific driverSo,
CloseApp
still 'works' by casting toWindowsDriver
first, however the only way I've found to work around the removal ofLaunchApp
is to calldriver.ExecuteScript("windows: launchApp", ["my-app-id"]);
(though I think app id is unnecessary here).I'm not sure if it's considered incorrect to make
ActivateApp
andTerminateApp
implement the working calls so that the same method does work xplat, or if the fix considered most correct is to do the same thing forLaunchApp
that was done toCloseApp
and bring back an implementation for it just onWindowsDriver
.Environment
The text was updated successfully, but these errors were encountered: