Uses of Class
org.openqa.selenium.Point
Package
Description
-
Uses of Point in org.openqa.selenium
Modifier and TypeMethodDescriptionWebElement.getLocation()
Where on the page is the top left-hand corner of the rendered element?Rectangle.getPoint()
WebDriver.Window.getPosition()
Get the position of the current window, relative to the upper left corner of the screen.Point.moveBy
(int xOffset, int yOffset) Modifier and TypeMethodDescriptionvoid
WebDriver.Window.setPosition
(Point targetPosition) Set the position of the current window. -
Uses of Point in org.openqa.selenium.interactions
Modifier and TypeMethodDescriptionCoordinates.inViewPort()
Gets coordinates on the element relative to the top-left corner of OS-window being used to display the content.Coordinates.onPage()
Gets coordinates on the element relative to the top-left corner of the page.Coordinates.onScreen()
Gets coordinates on the element relative to the top-left corner of the monitor (screen).Modifier and TypeMethodDescriptionPointerInput.createPointerMove
(Duration duration, PointerInput.Origin origin, Point offset) PointerInput.createPointerMove
(Duration duration, PointerInput.Origin origin, Point offset, PointerInput.PointerEventProperties eventProperties) WheelInput.createScroll
(Point start, int deltaX, int deltaY, Duration duration, WheelInput.ScrollOrigin origin) -
Uses of Point in org.openqa.selenium.remote
Modifier and TypeMethodDescriptionRemoteWebElement.getLocation()
RemoteWebDriver.RemoteWebDriverOptions.RemoteWindow.getPosition()
Modifier and TypeMethodDescriptionstatic CommandPayload
DriverCommand.SET_CURRENT_WINDOW_POSITION
(Point targetPosition) void
RemoteWebDriver.RemoteWebDriverOptions.RemoteWindow.setPosition
(Point targetPosition) -
Uses of Point in org.openqa.selenium.support.events
Modifier and TypeMethodDescriptiondefault void
WebDriverListener.afterGetLocation
(WebElement element, Point result) This action will be performed each time afterWebElement.getLocation()
is called.default void
WebDriverListener.afterGetPosition
(WebDriver.Window window, Point result) This action will be performed each time afterWebDriver.Window.getPosition()
is called.default void
WebDriverListener.afterSetPosition
(WebDriver.Window window, Point position) This action will be performed each time afterWebDriver.Window.setPosition(Point)
is called.default void
WebDriverListener.beforeSetPosition
(WebDriver.Window window, Point position) This action will be performed each time beforeWebDriver.Window.setPosition(Point)
is called.