Uses of Class
org.openqa.selenium.Point
Packages that usePoint
Package
Description
Uses ofPoint inorg.openqa.selenium
Methods inorg.openqa.selenium that returnPointModifier 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) Methods inorg.openqa.selenium with parameters of typePointModifier and TypeMethodDescriptionvoidWebDriver.Window.setPosition(Point targetPosition) Set the position of the current window.Constructors inorg.openqa.selenium with parameters of typePointUses ofPoint inorg.openqa.selenium.interactions
Methods inorg.openqa.selenium.interactions that returnPointModifier 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).Methods inorg.openqa.selenium.interactions with parameters of typePointModifier 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 ofPoint inorg.openqa.selenium.remote
Methods inorg.openqa.selenium.remote that returnPointModifier and TypeMethodDescriptionRemoteWebElement.getLocation()RemoteWebDriver.RemoteWebDriverOptions.RemoteWindow.getPosition()Methods inorg.openqa.selenium.remote with parameters of typePointModifier and TypeMethodDescriptionstaticCommandPayloadDriverCommand.SET_CURRENT_WINDOW_POSITION(Point targetPosition) voidRemoteWebDriver.RemoteWebDriverOptions.RemoteWindow.setPosition(Point targetPosition) Uses ofPoint inorg.openqa.selenium.support.events
Methods inorg.openqa.selenium.support.events with parameters of typePointModifier and TypeMethodDescriptiondefault voidWebDriverListener.afterGetLocation(WebElement element,Point result) This action will be performed each time afterWebElement.getLocation()is called.default voidWebDriverListener.afterGetPosition(WebDriver.Window window,Point result) This action will be performed each time afterWebDriver.Window.getPosition()is called.default voidWebDriverListener.afterSetPosition(WebDriver.Window window,Point position) This action will be performed each time afterWebDriver.Window.setPosition(Point)is called.default voidWebDriverListener.beforeSetPosition(WebDriver.Window window,Point position) This action will be performed each time beforeWebDriver.Window.setPosition(Point)is called.