Skip to content

Commit 85a2bc8

Browse files
authored
Try out switchContext('NATIVE_APP')
1 parent 7e2ca10 commit 85a2bc8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/helper/Appium.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1654,6 +1654,7 @@ class Appium extends Webdriver {
16541654
*/
16551655
async seeElement(locator) {
16561656
if (this.isWeb) return super.seeElement(locator)
1657+
this.switchToContext('NATIVE_APP')
16571658
return super.seeElement(parseLocator.call(this, locator))
16581659
}
16591660

0 commit comments

Comments
 (0)