public function SelectorsContext::printXpathSelectors in Varbase: The Ultimate Drupal CMS Starter Kit (Bootstrap Ready) 8.8
Same name and namespace in other branches
- 8.4 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
- 8.5 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
- 8.6 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
- 8.7 tests/features/bootstrap/SelectorsContext.php \SelectorsContext::printXPathSelectors()
- 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);
}