You are here

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

Same name and namespace in other branches
  1. 8.4 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
  2. 8.5 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.

Example: When I print xpath selectors.

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

File

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

Class

SelectorsContext
Defines application features from the specific context.

Code

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