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
    Modifier and Type
    Field
    Description
    static final String
     
  • Method Summary

    Modifier and Type
    Method
    Description
    default Optional<String>
    Get the hexadecimal handle of an existing application top level window to attach to.
    default T
    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

    Methods inherited from interface org.openqa.selenium.Capabilities

    asMap, get, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatformName, is, merge, required
  • Field Details

  • Method Details

    • setAppTopLevelWindow

      default T setAppTopLevelWindow(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 Optional<String> getAppTopLevelWindow()
      Get the hexadecimal handle of an existing application top level window to attach to.
      Returns:
      Top level window handle.