Created
May 10, 2018 07:04
-
-
Save tranhieutt/48b66cbe58c9a79c6c61f8f9473211e3 to your computer and use it in GitHub Desktop.
waitForExistence
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let textField = app.textFields[""input user name textField.tap() | |
textField.typeText("abc") | |
app.buttons["start"].tap() | |
let querry = app.otherElements["identifier_any_uicontroll"] | |
if querry.waitForExistence(timeout: timeOut) | |
{ | |
//do something else | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment