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

Method fullscreen

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

* Invokes the "full screen" operation on the current window. The exact * behavior of this command is specific to individual window managers, but * this will typically increase the window size to the size of the physical * display and hide the browser chrome. * * @return {!Promise<void

()

Source from the content-addressed store, hash-verified

2393 * @see <https://fullscreen.spec.whatwg.org/#fullscreen-an-element>
2394 */
2395 fullscreen() {
2396 return this.driver_.execute(new command.Command(command.Name.FULLSCREEN_WINDOW))
2397 }
2398
2399 /**
2400 * Gets the width and height of the current window

Callers

nothing calls this directly

Calls 1

executeMethod · 0.65

Tested by

no test coverage detected