ocrWaitForTextDisplayed
स्क्रीन पर एक विशिष्ट टेक्स्ट के प्रदर्शित होने का इंतजार करें।
उपयोग
await browser.ocrWaitForTextDisplayed({
text: "specFileRetries",
});
आउटपुट
लॉग्स
[0-0] 2024-05-26T04:32:52.005Z INFO webdriver: COMMAND ocrWaitForTextDisplayed(<object>)
......................
# ocrWaitForTextDisplayed uses ocrGetElementPositionByText under the hood, that is why you see the command ocrGetElementPositionByText in the logs
[0-0] 2024-05-26T04:32:52.735Z INFO @wdio/ocr-service:ocrGetElementPositionByText: Multiple matches were found based on the word "specFileRetries". The match "specFileRetries" with score "100%" will be used.