| Package | Description |
|---|---|
| org.testfx.api |
| Modifier and Type | Method and Description |
|---|---|
Capture |
FxRobot.capture(javafx.geometry.Bounds bounds) |
Capture |
FxRobotInterface.capture(javafx.geometry.Bounds bounds)
Returns a
Capture that supplies a screenshot using the given bounds. |
Capture |
FxRobot.capture(javafx.scene.image.Image image) |
Capture |
FxRobotInterface.capture(javafx.scene.image.Image image)
Convenience method: Returns a
Capture that supplies the given Image. |
Capture |
FxRobot.capture(javafx.scene.Node node) |
Capture |
FxRobotInterface.capture(javafx.scene.Node node)
Returns a
Capture that supplies a screenshot using the given node's bounds. |
Capture |
FxRobot.capture(java.nio.file.Path path) |
Capture |
FxRobotInterface.capture(java.nio.file.Path path)
Convenience method: Returns a
Capture that supplies the Image from the image file of the
given Path. |
Capture |
FxRobot.capture(javafx.geometry.Rectangle2D screenRegion) |
Capture |
FxRobotInterface.capture(javafx.geometry.Rectangle2D screenRegion)
Returns a
Capture that supplies a screenshot using the given rectangle's bounds. |
Capture |
FxRobot.capture(java.net.URL url) |
Capture |
FxRobotInterface.capture(java.net.URL url)
|