Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ms:waitForAppLaunch capability of WAD is not working with appium #1206

Open
krevathi1912 opened this issue Jun 29, 2020 · 2 comments
Open

ms:waitForAppLaunch capability of WAD is not working with appium #1206

krevathi1912 opened this issue Jun 29, 2020 · 2 comments

Comments

@krevathi1912
Copy link

I am automating UWP app using appium with WinAppDriver using python language. I am using ms:waitForAppLaunch = 50 capability of WAD, to wait for 50 secs after app launch is initiated prior to attaching to the application session, as some elements of the app takes time to initialize. This capability when used with appium, the winappdriver not waiting 50 secs to attache the app session. Where as when i run winappdriver seperately and start tests, the WAD is waiting 50 secs to attach the app session. Appium team said, its the issue with WinAppDriver. Appreciate any help

Issue logged in appium: appium/appium#14490

WinAppDriver 1.2 RC
Appium: 1.16.0

Code used

    desired_caps['platformName'] = "Windows"
    desired_caps['deviceName'] = "WindowsPC"
    desired_caps['app'] = "..................!App"
    desired_caps["ms:ms:waitForAppLaunch"] = 50
    self.driver = webdriver.Remote('http://localhost:4723/wd/hub', desired_caps)
@krevathi1912
Copy link
Author

@naeemakram, request any help in this issue

@liljohnak
Copy link

@krevathi1912 do you have a splash screen in the app you are testing? If so this may help.
#611 (comment)

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants