jiuka / jiuka.selenium / 0.0.2 / module / selenium_window_size Resize of the browser window. | "added in version" 0.0.2 of jiuka.selenium" Authors: Marius Rieder (@Jiuka) preview | supported by communityjiuka.selenium.selenium_window_size (0.0.2) — module
Install with ansible-galaxy collection install jiuka.selenium:==0.0.2
collections: - name: jiuka.selenium version: 0.0.2
Change the size of the browser window.
- name: Resize the browser window selenium_click: session: '{{ selenium.session }}' width: 420 height: 230
width: description: Width of the browser window. type: int height: description: Height of the browser window. type: int session: description: - Session to try to reconnect to. - If not specified, the value of environment variable C(SELENIUM_SESSION) will be used instead. type: str executor: description: - URL of the Selenium server. - If not specified, the value of environment variable C(SELENIUM_EXECUTOR) will be used instead. type: str headless: description: - If the Browser should be headless. - C(FIREFOX) and C(CHROME) only. required: false type: bool maximize: description: "Invokes the window manager-specific \u2018maximize\u2019 operation." type: bool minimize: description: "Invokes the window manager-specific \u2018minimize\u2019 operation." type: bool fullscreen: description: "Invokes the window manager-specific \u2018full screen\u2019 operation." type: bool capabilities: description: - Name of the browser to use as capabilities. - If not specified, the value of environment variable C(SELENIUM_BROWSER) will be used instead.
browser: description: Name of the Selenium browser used. returned: always type: str executor: description: URL of the Selenium executor used returned: always type: str session: description: Selenium session id. returned: always type: str size: description: Browser window size returnd: success sample: height: 600 width: 800 type: dict title: description: Title of the page after the click. returnd: success type: str url: description: URL of the browser after the click. returned: success type: str