You are here

public function SelectorsContext::printXPathSelectors in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.5

Same name and namespace in other branches
  1. 8.8 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXpathSelectors()
  2. 8.4 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
  3. 8.6 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
  4. 8.7 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
  5. 9.0.x tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXpathSelectors()

#Selector : To print list of XPath selectors which has been registered.

Exmaple : When I print xpath selectors.

@Then /^(?:|I )print xpath selectors$/

File

tests/features/bootstrap/SelectorsContext.php, line 288

Class

SelectorsContext
Defines application features from the specific context.

Code

public function printXPathSelectors() {
  echo Yaml::dump($this->xpathSelectors);
}