We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b87b15 commit 81bfb0fCopy full SHA for 81bfb0f
test/android/test.ts
@@ -154,7 +154,9 @@ describe('Test Android unpinning', function () {
154
155
// Wait until the app UI is actually loaded & visible on screen:
156
console.log("Waiting for app to load...");
157
- console.log("App loaded:", await driver.$('android=new UiSelector().text("SSL Pinning Demo")').getText());
+ const titleText = driver.$('android=new UiSelector().text("SSL Pinning Demo")')
158
+ await titleText.waitForExist()
159
+ console.log("App loaded:", await titleText.getText());
160
}
161
162
const testButton = async (button: WebdriverIO.Element, expected: 'Success' | 'Failed' | '?') => {
0 commit comments