| Package | Description |
|---|---|
| org.openqa.selenium |
| Modifier and Type | Method and Description |
|---|---|
Point |
WebElement.getLocation()
Where on the page is the top left-hand corner of the rendered element?
|
Point |
Rectangle.getPoint() |
Point |
WebDriver.Window.getPosition()
Get the position of the current window, relative to the upper left corner of the screen.
|
Point |
Point.moveBy(int xOffset,
int yOffset) |
| Modifier and Type | Method and Description |
|---|---|
void |
WebDriver.Window.setPosition(Point targetPosition)
Set the position of the current window.
|
| Constructor and Description |
|---|
Rectangle(Point p,
Dimension d) |
Copyright © 2014-2016 Machine Publishers, LLC.
Project homepage: https://github.com/machinepublishers/jbrowserdriver