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

Method maximize

javascript/selenium-webdriver/lib/webdriver.js:2367–2371  ·  view source on GitHub ↗

* Maximizes the current window. The exact behavior of this command is * specific to individual window managers, but typically involves increasing * the window to the maximum available size without going full-screen. * * @return {!Promise } A promise that will be resolved when the co

()

Source from the content-addressed store, hash-verified

2365 * has completed.
2366 */
2367 maximize() {
2368 return this.driver_.execute(
2369 new command.Command(command.Name.MAXIMIZE_WINDOW).setParameter('windowHandle', 'current'),
2370 )
2371 }
2372
2373 /**
2374 * Minimizes the current window. The exact behavior of this command is

Callers

nothing calls this directly

Calls 2

setParameterMethod · 0.80
executeMethod · 0.65

Tested by

no test coverage detected