Package io.fluentlenium.core.conditions
Interface RectangleConditions
- All Superinterfaces:
Conditions<org.openqa.selenium.Rectangle>
- All Known Implementing Classes:
RectangleConditionsImpl
,RectangleListConditionsImpl
Conditions API for Rectangle
-
Method Summary
Modifier and TypeMethodDescriptionboolean
dimension
(int width, int height) Check that rectangle has the given dimension.height()
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.width()
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
RectangleConditions not()Description copied from interface:Conditions
Negates this condition object.- Specified by:
not
in interfaceConditions<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 positiony
- 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
IntegerConditions 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
IntegerConditions 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
- widthheight
- 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 positiony
- y positionwidth
- widthheight
- height- Returns:
- true if rectangle has the given dimension, false otherwise
-