waitForURL(urlOrPredicate: "**/profile/**", options: { waitUntil: LOAD })
Returns true if the URL matches within the timeout and wait conditions.
urlOrPredicate
"https://example.com/dashboard"
or "**/login?success=true"
options
Boolean
scalar type represents true
or false
.