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

Method changeSizeBy

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

Source from the content-addressed store, hash-verified

233 }
234
235 private void changeSizeBy(int deltaX, int deltaY) {
236 WebDriver.Window window = driver.manage().window();
237 Dimension size = window.getSize();
238 changeSizeTo(new Dimension(size.width + deltaX, size.height + deltaY));
239 }
240
241 private void changeSizeTo(Dimension targetSize) {
242 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