You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-1Lines changed: 19 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,7 @@ Default options support the most usual usage scenario:
78
78
height:768
79
79
},
80
80
selectorTimeout:10000,
81
+
instructionDelay:0,
81
82
doctype:'<!DOCTYPE html>',
82
83
snapshots:'snapshots',
83
84
screenshots:null,
@@ -148,7 +149,13 @@ Resizes the web browser viewport to the specified `width` and `height` values (i
148
149
Type: `Number`
149
150
Default value: 10000
150
151
151
-
Maximum waiting time, until a DOM node with the selector specified by the `wait` property appears or disappears. Taking the snapshot fails, if this time is exceeded.
152
+
Maximum waiting time (in milliseconds), until a DOM node with the selector specified by the `wait` property appears or disappears. Taking the snapshot fails, if this time is exceeded.
153
+
154
+
#### instructionDelay
155
+
Type: `Number`
156
+
Default value: 0
157
+
158
+
Waiting time after executing an instruction. If the test is not run in the headless browser, but debugged in the browser window, it is sometimes helpful to watch outcome of every operation. If introducing waiting instructions all over is too cumbersome, this configuration will add the delay (in milliseconds) after every instruction automatically.
152
159
153
160
#### doctype
154
161
Type: `String`
@@ -499,6 +506,7 @@ your code using Grunt.
499
506
500
507
## Release History
501
508
509
+
* 2018-05-11 [v1.2.0] Introduce delay after every instruction to be able to visually follow the actions when debugging
502
510
* 2018-03-29 [v1.1.0] Allow specifying all initialization parameters supported by WebdriverIO
503
511
* 2018-03-28 [v1.0.2] Stop Selenium and Chromedriver processes on unexpected Grunt process abortion
504
512
* 2018-03-28 [v1.0.1] Workaround for hanging chromedriver after finishing the task
@@ -540,6 +548,16 @@ Licensed under the MIT license.
0 commit comments