Interface SupportsAppTopLevelWindowOption<T extends BaseOptions<T>>
-
- All Superinterfaces:
CanSetCapability<T>
,org.openqa.selenium.Capabilities
,java.io.Serializable
- All Known Implementing Classes:
WindowsOptions
public interface SupportsAppTopLevelWindowOption<T extends BaseOptions<T>> extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
APP_TOP_LEVEL_WINDOW_OPTION
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default java.util.Optional<java.lang.String>
getAppTopLevelWindow()
Get the hexadecimal handle of an existing application top level window to attach to.default T
setAppTopLevelWindow(java.lang.String identifier)
Set the hexadecimal handle of an existing application top level window to attach to, for example 0x12345 (should be of string type).-
Methods inherited from interface io.appium.java_client.remote.options.CanSetCapability
amend, setCapability
-
-
-
-
Field Detail
-
APP_TOP_LEVEL_WINDOW_OPTION
static final java.lang.String APP_TOP_LEVEL_WINDOW_OPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
setAppTopLevelWindow
default T setAppTopLevelWindow(java.lang.String identifier)
Set the hexadecimal handle of an existing application top level window to attach to, for example 0x12345 (should be of string type). Either this capability or app one must be provided on session startup.- Parameters:
identifier
- E.g. "0x12345".- Returns:
- self instance for chaining.
-
getAppTopLevelWindow
default java.util.Optional<java.lang.String> getAppTopLevelWindow()
Get the hexadecimal handle of an existing application top level window to attach to.- Returns:
- Top level window handle.
-
-