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
@@ -201,12 +201,6 @@ module.exports = function () {
201
201
};
202
202
```
203
203
204
-
### Reports
205
-
206
-
HTML and JSON reports are automatically generated and stored in the default `./reports` folder. This location can be changed by providing a new path using the `-r` command line switch:
207
-
208
-

209
-
210
204
### Event handlers
211
205
212
206
You can register event handlers for the following events within the cucumber life cycle.
@@ -219,32 +213,41 @@ You can register event handlers for the following events within the cucumber lif
HTML and JSON reports are automatically generated and stored in the default `./reports` folder. This location can be changed by providing a new path using the `-r` command line switch:
247
+
248
+

249
+
250
+
### How to debug
248
251
249
252
Most selenium methods return a [JavaScript Promise](https://spring.io/understanding/javascript-promises"view JavaScript promise introduction") that is resolved when the method completes. The easiest way to step in with a debugger is to add a ```.then``` method to a selenium function and place a ```debugger``` statement within it, for example:
250
253
@@ -268,7 +271,7 @@ module.exports = function () {
268
271
};
269
272
```
270
273
271
-
##Default directory structure
274
+
### Directory structure
272
275
273
276
You can use the framework without any command line arguments if your application uses the following folder structure:
0 commit comments