Interface SupportsSkipDeviceInitializationOption<T extends BaseOptions<T>>

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

public interface SupportsSkipDeviceInitializationOption<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<Boolean>
    Get whether initial device startup checks by the server are disabled.
    default T
    If set to true then device startup checks (whether it is ready and whether Settings app is installed) will be canceled on session creation.
    default T
    Disables initial device startup checks by the server.

    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

    • skipDeviceInitialization

      default T skipDeviceInitialization()
      Disables initial device startup checks by the server.
      Returns:
      self instance for chaining.
    • setSkipDeviceInitialization

      default T setSkipDeviceInitialization(boolean value)
      If set to true then device startup checks (whether it is ready and whether Settings app is installed) will be canceled on session creation. Could speed up the session creation if you know what you are doing. false by default
      Parameters:
      value - True to skip device initialization.
      Returns:
      self instance for chaining.
    • doesSkipDeviceInitialization

      default Optional<Boolean> doesSkipDeviceInitialization()
      Get whether initial device startup checks by the server are disabled.
      Returns:
      True or false.