-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathtest.json
More file actions
112 lines (111 loc) · 1.81 KB
/
test.json
File metadata and controls
112 lines (111 loc) · 1.81 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
{
"name": "autoTest",
"url": "https://www.baidu.com",
"trace": true,
"console": true,
"error": true,
"load": true,
"pageerror": true,
"request": true,
"requestfailed": true,
"requestfinished": true,
"response": true,
"actions":[
{
"name": "page",
"actions":[
{
"name": "press",
"actions": [{
"text": "123",
"delay": 100
}]
},
{
"name": "keyboard",
"actions": [{
"name": "down",
"arguments": ["a", "b"]
},{
"name": "up",
"arguments": ["a", "b"]
},{
"name": "sendCharacter",
"arguments": ["a", "b"]
}]
},
{
"name": "mouse",
"actions": [{
"name": "click",
"arguments": [1, 100, {
"button": "middle",
"clickCount": 1,
"delay": 2
}]
},{
"name": "up",
"arguments": [1, 100, {
"button": "middle",
"clickCount": 1,
}]
},{
"name": "move",
"arguments": [1, 100, {
"steps ": 5
}]
},{
"name": "down",
"arguments": [1, 100, {
"steps ": 5
}]
}]
},
{
"name": "touchscreen",
"actions": [{
"name": "tap",
"arguments": [1, 2]
}]
}
]
},
{
"name": "element",
"selectors":[{
"selector": "[input]",
"actions": [
{
"name": "click",
"arguments": {
"button": "middle",
"clickCount": 1,
"delay": 100
}
},{
"name": "dispose",
"arguments": {}
},{
"name": "hover",
"arguments": {}
},{
"name": "tap",
"arguments": {}
}
]
}]
}
],
"waitForNavigation":{
"timeout": 100,
"waitUntil": "load",
"networkIdleTimeout": 200
},
"waitForSelector": {
"selector": "img",
"arguments": {
"visible": false,
"timeout": 30000
}
}
}