Skip to content

Commit 234f9cc

Browse files
committed
Update README.
1 parent 643e5dc commit 234f9cc

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,19 @@
33
A collection of traits that help to quickly develop custom Context classes for
44
testing Drupal sites using Behat.
55

6+
The following traits are included:
7+
8+
* `BrowserCapabilityDetectionTrait`: allows to detect whether a scenario is
9+
using a browser that supports JavaScript. This can be used to write step
10+
definitions that can interact both with JavaScript behaviors and non-JS
11+
fallbacks.
12+
* `EntityTrait`: provides methods that allow to interact with entities using
13+
human readable names in step definitions, and translate them to machine names.
14+
* `PageCacheTrait`: allows to write step definitions that are aware of whether
15+
the page that is currently loaded is cached or cacheable.
16+
17+
Each of these traits come with an example context that include some step
18+
definitions to demonstrate how to use the traits.
619

720
## Requirements
821

0 commit comments

Comments
 (0)