Interface SupportsSimpleIsVisibleCheckOption<T extends BaseOptions<T>>

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

public interface SupportsSimpleIsVisibleCheckOption<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 use native methods for determining visibility of elements.
    default T
    setSimpleIsVisibleCheck(boolean value)
    Use native methods for determining visibility of elements.
    default T
    Enforce usage of native methods for determining visibility of elements.

    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

    • simpleIsVisibleCheck

      default T simpleIsVisibleCheck()
      Enforce usage of native methods for determining visibility of elements.
      Returns:
      self instance for chaining.
    • setSimpleIsVisibleCheck

      default T setSimpleIsVisibleCheck(boolean value)
      Use native methods for determining visibility of elements. In some cases this takes a long time. Setting this capability to false will cause the system to use the position and size of elements to make sure they are visible on the screen. This can, however, lead to false results in some situations. Defaults to false, except iOS 9.3, where it defaults to true.
      Parameters:
      value - Whether to use native methods for determining visibility of elements
      Returns:
      self instance for chaining.
    • doesSimpleIsVisibleCheck

      default Optional<Boolean> doesSimpleIsVisibleCheck()
      Get whether to use native methods for determining visibility of elements.
      Returns:
      True or false.