Skip to content

Latest commit

 

History

History
53 lines (40 loc) · 2.2 KB

selenium.md

File metadata and controls

53 lines (40 loc) · 2.2 KB

Selenium

This plugin is used to start a webbrowser and run tests via selenium.

Features

The most features from selenium. We will sooon have a better expliaination here.

Calls

The call looks like:

- type: SELENIUM
    call:
        actions: []
        base_url: "{{GUI_BASE_URL}}"
        path: "{{GUI_PATH}}"
        url: None
        webdriver: ['chrome']
        option: {}

The object for action looks like:

action: None
args: None
actions: None
log: None

The object for action can contain itself recursively.

Parameters:

Parameter Default Description
actions None The actions to run on the website.
base_url {{REST_BASE_URL}} The base url of the website to test.
path {{REST_PATH}} The path of the website to test.
url None The url value is built dynamically from {{base_url}}/{{path}} if not set. Otherwiese the other values are ignored.
webdriver True A list of webdrivers to test with [chrome, gecko, chromium-edge].
webdriver True Options

Parameters for action:

Parameter Default Description
action None The action to run on the driver/element.
args None The arguments for the action.
actions None Followup actions.
log None A log to print if the action is started.