PHP code example of mouncef / behat-selenium-bundle

1. Go to this page and download the library: Download mouncef/behat-selenium-bundle library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mouncef / behat-selenium-bundle example snippets


Mouncef\BehatSeleniumBundle\BehatSeleniumBundle::class => ['test' => true],
bash
APP_ENV=test php bin/console behat:install
gherkin
When Je vais sur la page "https://example.com/"
Then Je devrai voir le texte "Example Domain"
Given Je rempli le champ "#login" avec la valeur "{user}"
Given Je defini que "user" vaut "jean.dupont"
Given Je prends une capture d'écran "apres-connexion"