Interface SupportsSkipDeviceInitializationOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> doesSkipDeviceInitialization()
      Get whether initial device startup checks by the server are disabled.
      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.
      default T skipDeviceInitialization()
      Disables initial device startup checks by the server.
      • Methods inherited from interface org.openqa.selenium.Capabilities

        asMap, getBrowserName, getBrowserVersion, getCapability, getCapabilityNames, getPlatform, getPlatformName, getVersion, is, merge
    • Field Detail

      • SKIP_DEVICE_INITIALIZATION_OPTION

        static final java.lang.String SKIP_DEVICE_INITIALIZATION_OPTION
        See Also:
        Constant Field Values
    • Method Detail

      • 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 java.util.Optional<java.lang.Boolean> doesSkipDeviceInitialization()
        Get whether initial device startup checks by the server are disabled.
        Returns:
        True or false.