Package | Description |
---|---|
org.openqa.selenium | |
org.openqa.selenium.interactions.internal |
Modifier and Type | Method and Description |
---|---|
Point |
WebElement.getLocation()
Where on the page is the top left-hand corner of the rendered element?
|
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.
|
Modifier and Type | Method and Description |
---|---|
Point |
Coordinates.inViewPort()
Gets coordinates on the element relative to the top-left corner of OS-window being used
to display the content.
|
Point |
Coordinates.onPage()
Gets coordinates on the element relative to the top-left corner of the page.
|
Point |
Coordinates.onScreen()
Gets coordinates on the element relative to the top-left corner of the monitor (screen).
|
Copyright © 2013. All Rights Reserved.