jiuka / jiuka.selenium / 0.0.2 / module / selenium_navigate Navigate in a selenium browser. | "added in version" 0.0.1 of jiuka.selenium" Authors: Marius Rieder (@Jiuka) preview | supported by communityjiuka.selenium.selenium_navigate (0.0.2) — module
Install with ansible-galaxy collection install jiuka.selenium:==0.0.2
collections: - name: jiuka.selenium version: 0.0.2
Navigate in a selenium browser.
- name: Get Page selenium_navigate: get: https://www.ansible.com/ register: selenium
- name: Go back selenium_navigate: back: true session: '{{ selenium.session }}'
- name: Go Forward selenium_navigate: forward: true session: '{{ selenium.session }}'
get: aliases: - url description: URL to load in the browser. type: str back: description: Go back in the history. type: bool close: description: Cloase the current session. type: bool reload: description: Reload the current page. type: bool forward: description: Go forward in the history. type: bool 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 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 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