Class VisibleCondition

  • All Implemented Interfaces:
    Condition

    @Immutable
    public class VisibleCondition
    extends Object
    implements Condition
    Conditions that returns true iff element found by given identification is visible.
    • Constructor Detail

      • VisibleCondition

        public VisibleCondition​(Identification identification)
        Parameters:
        identification - the identification.
    • Method Detail

      • check

        public boolean check​(EmbeddedBrowser browser)
        Specified by:
        check in interface Condition
        Parameters:
        browser - The browser.
        Returns:
        whether the evaluated condition is satisfied
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object