Skip to content

Commit 3fac581

Browse files
author
Denys Zaiats
committed
[master] - fix for getting context
1 parent 087c0e2 commit 3fac581

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/util/driver/MobileHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ public static MobileElement clearField(AndroidDriver driver, MobileElement eleme
132132
}
133133

134134
public static String getWebContextName(AppiumDriver driver) {
135-
return getContext(driver, "WEB");
135+
return getContext(driver, "WEBVIEW_0");
136136
}
137137

138138
public static String getNativeContextName(AppiumDriver driver) {

0 commit comments

Comments
 (0)