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: 55 361

Dependents: 0

Suggesters: 0

Security: 0

Stars: 16

Watchers: 18

Forks: 2


7.1.0 2024-03-31 20:24 UTC

This package is auto-updated.

Last update: 2024-04-06 15:02: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.