sinann
sinann

Reputation: 21

I need to dynamic wait solution in Karate Mobile Framework instead of delay()

Although I use waitFor() in my UI test properly in the Karate framework, it does not work for mobile test. I think there is an issue with Appium or the emulator.I also tried with real devices but still no solution. How my test can wait until the URL is ready to accept HTTP connections by using the Karate framework? Thanks in advance!

Upvotes: 2

Views: 649

Answers (1)

Babu Sekaran
Babu Sekaran

Reputation: 4239

As of karate 1.0.1 wait functions are predominantly designed for the web. we've added the support for waitFor in mobile and it should be available in the next release,

  • waitFor(locator)

It would be more helpful if you follow the instructions Devloper Guide and confirm if this works.

Upvotes: 1

Related Questions