Interface RectangleConditions

All Superinterfaces:
Conditions<org.openqa.selenium.Rectangle>
All Known Implementing Classes:
RectangleConditionsImpl, RectangleListConditionsImpl

public interface RectangleConditions extends Conditions<org.openqa.selenium.Rectangle>
Conditions API for Rectangle
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    dimension (int width, int height)
    Check that rectangle has the given dimension.
    Add advanced conditions on rectangle height.
    boolean
    height (int height)
    Check that rectangle has the given height.
    not()
    Negates this condition object.
    boolean
    position (int x, int y)
    Check that rectangle has the given (x, y) position.
    boolean
    positionAndDimension (int x, int y, int width, int height)
    Check that rectangle has the given psition and dimension.
    Add advanced conditions on rectangle width.
    boolean
    width (int width)
    Check that rectangle has the given width.
    x()
    Add advanced conditions on rectangle x position.
    boolean
    x (int x)
    Check that rectangle has the given x position.
    y()
    Add advanced conditions on rectangle y position.
    boolean
    y (int y)
    Check that rectangle has the given y position.

    Methods inherited from interface io.fluentlenium.core.conditions.Conditions

    verify
  • Method Details

    • not

      Description copied from interface: Conditions
      Negates this condition object.
      Specified by:
      not in interface Conditions<org.openqa.selenium.Rectangle>
      Returns:
      a negated condition object
    • x

      boolean x (int x)
      Check that rectangle has the given x position.
      Parameters:
      x - x position
      Returns:
      true if rectangle has the given x position, false otherwise
    • x

      Add advanced conditions on rectangle x position.
      Returns:
      advanced conditions builder on rectangle x position
    • y

      boolean y (int y)
      Check that rectangle has the given y position.
      Parameters:
      y - y position
      Returns:
      true if rectangle has the given y position, false otherwise
    • y

      Add advanced conditions on rectangle y position.
      Returns:
      advanced conditions builder on rectangle y position
    • position

      boolean position (int x, int y)
      Check that rectangle has the given (x, y) position.
      Parameters:
      x - x position
      y - y position
      Returns:
      true if rectangle has the given (x, y) position, false otherwise
    • width

      boolean width (int width)
      Check that rectangle has the given width.
      Parameters:
      width - width
      Returns:
      true if rectangle has the given width, false otherwise
    • width

      Add advanced conditions on rectangle width.
      Returns:
      advanced conditions builder on rectangle width
    • height

      boolean height (int height)
      Check that rectangle has the given height.
      Parameters:
      height - height
      Returns:
      true if rectangle has the given height, false otherwise
    • height

      Add advanced conditions on rectangle height.
      Returns:
      advanced conditions builder on rectangle height
    • dimension

      boolean dimension (int width, int height)
      Check that rectangle has the given dimension.
      Parameters:
      width - width
      height - height
      Returns:
      true if rectangle has the given dimension, false otherwise
    • positionAndDimension

      boolean positionAndDimension (int x, int y, int width, int height)
      Check that rectangle has the given psition and dimension.
      Parameters:
      x - x position
      y - y position
      width - width
      height - height
      Returns:
      true if rectangle has the given dimension, false otherwise