MCPcopy Index your code
hub / github.com/SeleniumHQ/selenium / setSize

Method setSize

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

Set the size of the current window. This will change the outer window dimension, not just the view port, synonymous to window.resizeTo() in JS. See W3C WebDriver specification for more details. @param targetSize The target size.

(Dimension targetSize)

Source from the content-addressed store, hash-verified

561 * @param targetSize The target size.
562 */
563 void setSize(Dimension targetSize);
564
565 /**
566 * Get the position of the current window, relative to the upper left corner of the screen.

Callers 11

window.jsFile · 0.65
changeSizeToMethod · 0.65
setSizeMethod · 0.65
mainMethod · 0.65
style.jsFile · 0.65
colormenubutton.jsFile · 0.65
menubutton.jsFile · 0.65

Implementers 2

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

Calls

no outgoing calls