Interface SupportsSimpleIsVisibleCheckOption<T extends BaseOptions<T>>

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default java.util.Optional<java.lang.Boolean> doesSimpleIsVisibleCheck()
      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 simpleIsVisibleCheck()
      Enforce usage of native methods for determining visibility of elements.
      • Methods inherited from interface org.openqa.selenium.Capabilities

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

      • SIMPLE_IS_VISIBLE_CHECK_OPTION

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

      • 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 java.util.Optional<java.lang.Boolean> doesSimpleIsVisibleCheck()
        Get whether to use native methods for determining visibility of elements.
        Returns:
        True or false.