Installation

This extension requires:

  • Behat 3.0+
  • Behat/MinkExtension 2.0+

Through Composer

The easiest way to keep your suite updated is to use Composer.

  1. Require the extension in your composer.json:

    $ composer require --dev sensiolabs/behat-page-object-extension:^2.0
    
  2. Activate the extension in your behat.yml:

    default:
      # ...
      extensions:
        SensioLabs\Behat\PageObjectExtension: ~
        Behat\MinkExtension: ~
        # You'll need to configure the MinkExtension. Refer to their docs.