Understand the core features of MinkExtension
masterMinkExtension acts as an integration layer between Behat 3.0+ and Mink 1.5+. It provides three primary capabilities for Behat testing environments:
- Additional Behat Services: It registers
Mink,Sessions, andDriversas services within the Behat container. - MinkAwareContext: A class (
Behat\MinkExtension\Context\MinkAwareContext) that you can implement or extend to gain access to theMinkinstance within your custom contexts. - MinkContext: A base context (
Behat\MinkExtension\Context\MinkContext) that provides ready-to-use step definitions and hooks. You can use it as a standalone context or as a base for your own subcontexts.