-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[mobile] Added enhancements for wait
API for mobile UI
#1550
[mobile] Added enhancements for wait
API for mobile UI
#1550
Conversation
…ll only support waitUntil(func). changed logic for optional and waitForAny for mobile
Hi, Thanks |
@bltemrah Yes, the changes are available in Once you built it locally change your karate version in dependency to |
Thanks for your prompt reply. I use Karate Fw by maven dependency in pom XML. I think that I need to wait your version update. Can you please let me know when you update version? |
@bltemrah if you can't build locally and test - we won't have the confidence to release an official version sooner. so right now there is no confirmed date. we will have to wait for others to confirm |
@ptrthomas we would like to test it. |
@bltemrah great ! please do |
Hi @babusekaran and @ptrthomas |
@bltemrah thanks. please note that the more gaps we discover now saves everybody time |
@ptrthomas @babusekaran we did also a test of "waitForText", and it works well, fyi. |
Please, can you let me know when you update the dependency? |
@bltemrah a release candidate is available now with these changes, pls try |
Hi @babusekaran, |
@bltemrah mvnrepository is not up to date: https://search.maven.org/artifact/com.intuit.karate/karate-core |
Approach:
created a mobile-specific options
MobileDriverOptions
to override functions according to mobile driver needsAdded enhancements for below wait APIs to ensure it works for mobile,
waitFor(locator)
waitForAny([locator1, locator2,... locatorN])
waitForText(locator, text)
Bonus changes:
retry()
,optional()
,exists()
,clear()
wait
APIs similar to web #1548