MCPcopy Create free account
hub / github.com/SeleniumHQ/selenium / getPosition

Method getPosition

java/src/org/openqa/selenium/WebDriver.java:573–573  ·  view source on GitHub ↗

Get the position of the current window, relative to the upper left corner of the screen. See W3C WebDriver specification for more details. @return The current window position.

()

Source from the content-addressed store, hash-verified

571 * @return The current window position.
572 */
573 Point getPosition();
574
575 /**
576 * Set the position of the current window. This is relative to the upper left corner of the

Implementers 2

RemoteWindowjava/src/org/openqa/selenium/remote/Re
DecoratedWindowTestjava/test/org/openqa/selenium/support/

Calls

no outgoing calls