public function SelectorInterface::translateToXPath in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/behat/mink/src/Selector/SelectorInterface.php \Behat\Mink\Selector\SelectorInterface::translateToXPath()
Translates provided locator into XPath.
Parameters
string|array $locator current selector locator:
Return value
string
2 methods override SelectorInterface::translateToXPath()
- CssSelector::translateToXPath in vendor/
behat/ mink/ src/ Selector/ CssSelector.php - Translates CSS into XPath.
- NamedSelector::translateToXPath in vendor/
behat/ mink/ src/ Selector/ NamedSelector.php - Translates provided locator into XPath.
File
- vendor/
behat/ mink/ src/ Selector/ SelectorInterface.php, line 27
Class
- SelectorInterface
- Mink selector engine interface.
Namespace
Behat\Mink\SelectorCode
public function translateToXPath($locator);