PHP code example of nicwortel / behat-unused-step-definitions-extension

1. Go to this page and download the library: Download nicwortel/behat-unused-step-definitions-extension 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/ */

    

nicwortel / behat-unused-step-definitions-extension example snippets


/**
 * @Then I take a screenshot
 * @Then I take a screenshot :name
 */
public function takeScreenshot(?string $name = NULL): void {
  // Step implementation.
}