Interface SupportsResetLocationServiceOption<T extends BaseOptions<T>>

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

public interface SupportsResetLocationServiceOption<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 to reset the location service in the session deletion on real device.
    default T
    Set to reset the location service in the session deletion on real device.
    default T
    setResetLocationService(boolean value)
    Whether reset the location service in the session deletion on real device.

    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

    • resetLocationService

      default T resetLocationService()
      Set to reset the location service in the session deletion on real device.
      Returns:
      self instance for chaining.
    • setResetLocationService

      default T setResetLocationService(boolean value)
      Whether reset the location service in the session deletion on real device. Defaults to false.
      Parameters:
      value - Whether to reset the location service in the session deletion on real device.
      Returns:
      self instance for chaining.
    • doesResetLocationService

      default Optional<Boolean> doesResetLocationService()
      Get whether to reset the location service in the session deletion on real device.
      Returns:
      True or false.