friends-of-behat / page-object-extension
Provides default classes for Page object pattern in Behat
Installs: 4 674 151
Dependents: 430
Suggesters: 0
Security: 0
Stars: 180
Watchers: 4
Forks: 11
Open Issues: 6
Requires
- php: ^7.1 || ^8.0
- behat/mink: ^1.7
Requires (Dev)
- symfony/routing: ^3.4 || ^4.4 || ^5.1
Suggests
- symfony/routing: Allow better support for PageObject pattern in Symfony applications
README
Provides default classes for Page object pattern in Behat.
Page
Page
represents specific page on web, API etc.
This concept is extracted from Sylius Behat system and
inspired by sensiolabs/BehatPageObjectExtension
Element
Element
represents part of the page. This concept is extracted from SyliusAdminOrderCreation.
SymfonyPage
SymfonyPage
is an extension of Page
class for better and more straightforward Symfony application support.
This concept is also extracted from Sylius Behat system
Installation
composer require friends-of-behat/page-object-extension --dev