-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathcapture.yaml
More file actions
50 lines (41 loc) · 1018 Bytes
/
capture.yaml
File metadata and controls
50 lines (41 loc) · 1018 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
pipeline:
init:
action: webdriver:start
open:
action: webdriver:open
# Add any chrome args you need here, e.g.:
# capabilities:
# - --headless=new
# - --disable-gpu
capture:
action: webdriver:capture-start
sinkURL: file:///tmp/endly-webdriver-events.jsonl
flushIntervalMs: 500
maxBodyBytes: 1000000
redact: true
test:
action: webdriver:run
navigation:
timeoutMs: 45000
autoScrollMs: 5000
scrollDelayMs: 300
stableWindowMs: 1500
maxScrollSteps: 30
commands:
- get(http://play.golang.org/?simple=1)
- (#code).clear
- (#code).sendKeys(package main
import "fmt"
func main() {
fmt.Println("Hello Endly!")
}
)
- command: (#run).click
- command: stdout = (.stdout).text
exit: $stdout.Text:/Endly/
waitTimeMs: 60000
repeat: 10
stopCapture:
action: webdriver:capture-stop
defer:
action: webdriver:stop