Skip to content

Commit 24f4840

Browse files
Add comment about window switching
1 parent bd85c3c commit 24f4840

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utam-core/src/main/java/utam/core/selenium/appium/MobileDriverAdapter.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,7 @@ private static AppiumDriver switchToContext(
200200
error(e);
201201
error("Failed to switch to context: " + context);
202202
}
203+
// Window switching is on Android only.
203204
if (newDriver != null
204205
&& window != null
205206
&& appiumDriver.getCapabilities().getPlatformName().equals(Platform.ANDROID)) {

0 commit comments

Comments
 (0)