Interface SupportsAutoWebViewOption<T extends BaseOptions<T>>

All Superinterfaces:
CanSetCapability<T>, org.openqa.selenium.Capabilities, Serializable
All Known Implementing Classes:
EspressoOptions, UiAutomator2Options, XCUITestOptions

public interface SupportsAutoWebViewOption<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 T
    Set the app to move directly into Webview context.
    default Optional<Boolean>
    Get whether the app moves directly into Webview context.
    default T
    setAutoWebview(boolean bool)
    Set whether the app moves directly into Webview context.

    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

    • autoWebview

      default T autoWebview()
      Set the app to move directly into Webview context.
      Returns:
      self instance for chaining.
    • setAutoWebview

      default T setAutoWebview(boolean bool)
      Set whether the app moves directly into Webview context.
      Parameters:
      bool - is whether the app moves directly into Webview context.
      Returns:
      self instance for chaining.
    • doesAutoWebview

      default Optional<Boolean> doesAutoWebview()
      Get whether the app moves directly into Webview context.
      Returns:
      true if app moves directly into Webview context.