Interface SupportsAppTopLevelWindowOption<T extends BaseOptions<T>>
- All Superinterfaces:
CanSetCapability<T>,org.openqa.selenium.Capabilities,Serializable
- All Known Implementing Classes:
WindowsOptions
public interface SupportsAppTopLevelWindowOption<T extends BaseOptions<T>>
extends org.openqa.selenium.Capabilities, CanSetCapability<T>
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionGet the hexadecimal handle of an existing application top level window to attach to.default TsetAppTopLevelWindow(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, setCapabilityMethods inherited from interface org.openqa.selenium.Capabilities
asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
-
Field Details
-
APP_TOP_LEVEL_WINDOW_OPTION
- See Also:
-
-
Method Details
-
setAppTopLevelWindow
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
Get the hexadecimal handle of an existing application top level window to attach to.- Returns:
- Top level window handle.
-