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

Method changeSizeBy

java/test/org/openqa/selenium/WindowTest.java:232–236  ·  view source on GitHub ↗
(int deltaX, int deltaY)

Source from the content-addressed store, hash-verified

230 }
231
232 private void changeSizeBy(int deltaX, int deltaY) {
233 WebDriver.Window window = driver.manage().window();
234 Dimension size = window.getSize();
235 changeSizeTo(new Dimension(size.width + deltaX, size.height + deltaY));
236 }
237
238 private void changeSizeTo(Dimension targetSize) {
239 WebDriver.Window window = driver.manage().window();

Calls 4

changeSizeToMethod · 0.95
windowMethod · 0.65
manageMethod · 0.65
getSizeMethod · 0.65

Tested by

no test coverage detected