Class NotXPathCondition

  • All Implemented Interfaces:
    Condition

    @Immutable
    public class NotXPathCondition
    extends Object
    implements Condition
    Condition that returns true iff no elements are found with expression.
    Author:
    dannyroest@gmail.com (Danny Roest)
    • Constructor Detail

      • NotXPathCondition

        public NotXPathCondition​(String expression)
        Parameters:
        expression - the XPath expression.
    • 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