A library to generate puppeteer browser controls through a YAML, scenario oriented api.
scenarios:
- name: Scenario 1 # Default `Scenario 1`
run: PARALLEL # Default PARALLEL
initialDelaySeconds: 10 # default 0
location: http://example.com/page1
workers: 10 # Default 1
iterations: 1 # Default Infinity
steps:
- click: "#elementId1"
- waitSeconds: 3
- waitForever: {}
- input:
selector: .inputField
text: Hello, World!
- scrollDown: 500
- scrollUp: 200
- name: Scenario 2
location: $LOC[workerIndex]
steps:
- hover: "#hoverElement"
- assertText:
selector: .output
expectedText: Expected Output