Download the PHP package sylius-labs/behat-panther-extension without Composer
On this page you can find all versions of the php package sylius-labs/behat-panther-extension. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package behat-panther-extension
BehatPantherExtension
Symfony Panther extension for Behat
Note: This is a fork maintained by SyliusLabs. The original package is
robertfausk/behat-panther-extension(on Packagist).
Install
Usage example
- Add to your behat.yml.
- Use session in .
- The extension will use options of by default. Have a look at for this.
- Following are some examples with all sessions using mink-panther-driver:
Example on how to pass arguments to ChromeDriver binary
See also https://chromedriver.chromium.org/logging
Example on how to test for a downloaded file
How to upgrade?
Have a look at the GitHub Releases for detailed information.
How to contribute?
Start docker-compose with php version of your choice. At the moment the following php versions can be used with docker-compose: php7.2, php7.3, php7.4, php8.0, php8.1, php8.2, php8.3 and php8.4.
E.g. you can start a container like this:
docker-compose up php8.2
Upgrade scenario lock files:
docker-compose run php8.2 composer update
Run phpunit tests:
docker-compose run php8.2 vendor/bin/phpunit
If you want to start up all containers at once and keep them running in background then run the following:
If you want to execute tests for scenario symfony6 and php8.2 then run the following:
Or if you want to execute tests for scenario symfony7 and php8.4 then run the following:
The Behat 4 scenarios (symfony7_behat4, symfony8) require a PHP configuration file, so use
--config=tests/Behat/behat.php instead of --config=tests/Behat/behat.yml for those.
See also https://github.com/g1a/composer-test-scenarios for more information about scenarios.
Credits
Created by Robert Freigang robertfausk. This fork is maintained by SyliusLabs.
BehatPantherExtension is built on top of symfony/panther and robertfausk/mink-panther-driver. It is for usage with Behat and Mink.
All versions of behat-panther-extension with dependencies
behat/behat Version ^3.0.5 || ^4.0
robertfausk/mink-panther-driver Version ^1.0
symfony/config Version ^6.4 || ^7.4 || ^8.0
friends-of-behat/mink-extension Version ^2.3 || ^3.0