PHP code example of bex / behat-extension-driver-locator
1. Go to this page and download the library: Download bex/behat-extension-driver-locator 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/ */
bex / behat-extension-driver-locator example snippets
$driverNodeBuilder = DriverNodeBuilder::getInstance($driverNamespace, $driverParent);
$driverNodeBuilder->buildDriverNodes($builder, $activeDriversNodeName, $driversCofigurationNodeName, $defaultDriverKeys);
$driverLocator = DriverLocator::getInstance($driverNamespace, $driverParent);
$drivers = $driverLocator->findDrivers($container, $activeDrivers, $driverConfigs);