You are here

public function FeatureContext::getContextParameter in Acquia Lift Connector 7

Same name and namespace in other branches
  1. 7.2 behat-tests/features/bootstrap/FeatureContext.php \FeatureContext::getContextParameter()

Helper function to retrieve a context parameter.

Parameters

$param_name: The name of the parameter to retrieve

Return value

The parameter value or NULL if undefined.

1 call to FeatureContext::getContextParameter()
FeatureContext::takeScreenshotAfterFailedStep in behat-tests/features/bootstrap/FeatureContext.php
Take screenshot when step fails. Works only with Selenium2Driver.

File

behat-tests/features/bootstrap/FeatureContext.php, line 652

Class

FeatureContext
Defines application features from the specific context.

Code

public function getContextParameter($param_name) {
  return !empty($this->context_parameters[$param_name]) ? $this->context_parameters[$param_name] : NULL;
}