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

Method setPosition

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

Set the position of the current window. This is relative to the upper left corner of the screen, synonymous to window.moveTo() in JS. See W3C WebDriver specification for more details. @param targetPosition The target position of the

(Point targetPosition)

Source from the content-addressed store, hash-verified

582 * @param targetPosition The target position of the window.
583 */
584 void setPosition(Point targetPosition);
585
586 /**
587 * Maximizes the current window if it is not already maximized

Callers 4

resetWindowMethod · 0.65
setPositionMethod · 0.65

Implementers 2

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

Calls

no outgoing calls

Tested by 4

resetWindowMethod · 0.52
setPositionMethod · 0.52