
|
|
![]()
WaitFor UIView ["monkeyID"] [timeout:integer property:string, expectedValue:string] Pauses script execution until the specified view is found. Argumentstimeount:integer (Required)- Maximum time to wait for the view to be found. property:string (Optional)- The name or path of the property whose value is to be verified.If no property is specified, WaitFor waits only for the existence of the specified component. expected:string (Required if property is specified) - The expected string value of the specified property. ExamplesWaitFor UILabel "message" 5000 WaitFor UITableViewCell "Songs" 5000, detailTextLabel.text, "Total time: More than 9 Days" |