Extends the MinkContext and adds some additional (sub)contexts like creating a screenshot when a step fails or wait for Ajax to finish before continuing assertPageContainsText()

Installs: 53 885

Dependents: 0

Suggesters: 0

Security: 0

Stars: 16

Watchers: 18

Forks: 2


6.2.4 2022-11-20 13:10 UTC


Build Status Total Downloads Latest Stable Version Analytics

An extension on the Behat Mink feature contexts. You can extend the FeatureContext from this bundle or simply use the SubContexts in your own.


The FeatureContext overrides the standard MinkContext methods to add some additional functionality.

The assertPageContainsText($text) definition is currently extended so it waits for AJAX requests to finish before continuing.


Failed step screenshots

The FailedScreenshotSubContext offers a takeScreenshotAfterFailedStep($event) definition which takes a screenshot and saves it to the "build/behat" folder when a step fails.

Radio Button

The RadioButtonSubContect offers support for radio button testing in your features.