Skip to content

Commit f7afd71

Browse files
author
John Doherty
committed
more doc updates
1 parent 213151d commit f7afd71

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

README.MD

+3-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ JavaScript browser automation framework using official [selenium-webdriver](http
1313
* [Step definitions](#step-definitions)
1414
* [Page objects](#page-objects)
1515
* [Shared objects](#shared-objects)
16-
* [Event handlers](#event-handlers)
16+
* [Before/After hooks](#beforeafter-hooks)
1717
* [Reports](#reports)
1818
* [How to debug](#how-to-debug)
1919
* [Directory structure](#directory-structure)
@@ -201,9 +201,9 @@ module.exports = function () {
201201
};
202202
```
203203

204-
### Event handlers
204+
### Before/After hooks
205205

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:
207207

208208
| Event | Example
209209
| -------------- | ------------------------------------------------------------

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "selenium-cucumber-js",
3-
"version": "1.4.1",
3+
"version": "1.4.2",
44
"description": "JavaScript browser automation framework using official selenium-webdriver and cucumber-js",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)