Skip to content

Commit 2e69763

Browse files
committed
Fix the key for Windows platform in ElementMap
1 parent 0be00cd commit 2e69763

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/io/appium/java_client/internal/ElementMap.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public enum ElementMap {
3737
IOS_XCUI_TEST(AutomationName.IOS_XCUI_TEST.toLowerCase(), IOSElement.class),
3838
ANDROID_UI_AUTOMATOR(MobilePlatform.ANDROID.toLowerCase(), AndroidElement.class),
3939
IOS_UI_AUTOMATION(MobilePlatform.IOS.toLowerCase(), IOSElement.class),
40-
WINDOWS(MobilePlatform.WINDOWS, WindowsElement.class);
40+
WINDOWS(MobilePlatform.WINDOWS.toLowerCase(), WindowsElement.class);
4141

4242

4343
private static final Map<String, ElementMap> mobileElementMap;

0 commit comments

Comments
 (0)