public enum ElementMap extends java.lang.Enum<ElementMap>
Enum Constant and Description |
---|
ANDROID_UI_AUTOMATOR |
ANDROID_UIAUTOMATOR2 |
IOS_UI_AUTOMATION |
IOS_XCUI_TEST |
SELENDROID |
WINDOWS |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebElement> |
getElementClass() |
static java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebElement> |
getElementClass(java.lang.String platform,
java.lang.String automation)
Gets element class by
platform and mobile automation type. |
java.lang.String |
getPlatformOrAutomation() |
static ElementMap |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElementMap[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElementMap ANDROID_UIAUTOMATOR2
public static final ElementMap SELENDROID
public static final ElementMap IOS_XCUI_TEST
public static final ElementMap ANDROID_UI_AUTOMATOR
public static final ElementMap IOS_UI_AUTOMATION
public static final ElementMap WINDOWS
public static ElementMap[] values()
for (ElementMap c : ElementMap.values()) System.out.println(c);
public static ElementMap valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getPlatformOrAutomation()
public java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebElement> getElementClass()
public static java.lang.Class<? extends org.openqa.selenium.remote.RemoteWebElement> getElementClass(java.lang.String platform, java.lang.String automation)
platform
and mobile automation
type.platform
- is the mobile platform. See MobilePlatform
.automation
- is the mobile automation type. See AutomationName
RemoteWebElement
that convenient to current session details.