UNPKG

webdriverio-workflo

Version:

This is a customized version of webdriverio for use with workflo framework.

29 lines (26 loc) 914 B
'use strict'; Object.defineProperty(exports, "__esModule", { value: true }); /** * * The Fullscreen Window command invokes the window manager-specific “full screen” operation, * if any, on the window containing the current top-level browsing context. This typically * increases the window to the size of the physical display and can hide browser UI elements * such as toolbars. * * Note: this command was recently added to the official Webdriver protocol and might not be * working with current Selenium driver. * * @see https://w3c.github.io/webdriver/webdriver-spec.html#dfn-fullscreen-window * @type protocol * */ var windowHandleFullscreen = function windowHandleFullscreen() { return this.requestHandler.create({ path: '/session/:sessionId/window/fullscreen', method: 'POST' }); }; exports.default = windowHandleFullscreen; module.exports = exports['default'];