File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ JavaScript browser automation framework using official [selenium-webdriver](http
13
13
* [ Step definitions] ( #step-definitions )
14
14
* [ Page objects] ( #page-objects )
15
15
* [ Shared objects] ( #shared-objects )
16
- * [ Event handlers ] ( #event-handlers )
16
+ * [ Before/After hooks ] ( #beforeafter-hooks )
17
17
* [ Reports] ( #reports )
18
18
* [ How to debug] ( #how-to-debug )
19
19
* [ Directory structure] ( #directory-structure )
@@ -201,9 +201,9 @@ module.exports = function () {
201
201
};
202
202
```
203
203
204
- ### Event handlers
204
+ ### Before/After hooks
205
205
206
- You can register event handlers for the following events within the cucumber life cycle.
206
+ You can register before and after handlers for features and scenarios:
207
207
208
208
| Event | Example
209
209
| -------------- | ------------------------------------------------------------
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " selenium-cucumber-js" ,
3
- "version" : " 1.4.1 " ,
3
+ "version" : " 1.4.2 " ,
4
4
"description" : " JavaScript browser automation framework using official selenium-webdriver and cucumber-js" ,
5
5
"main" : " index.js" ,
6
6
"scripts" : {
You can’t perform that action at this time.
0 commit comments