Chris@0: Chris@0: * Chris@0: * For the full copyright and license information, please view the LICENSE Chris@0: * file that was distributed with this source code. Chris@0: */ Chris@0: Chris@0: namespace Behat\Mink\Selector; Chris@0: Chris@0: /** Chris@0: * Mink selector engine interface. Chris@0: * Chris@0: * @author Konstantin Kudryashov Chris@0: */ Chris@0: interface SelectorInterface Chris@0: { Chris@0: /** Chris@0: * Translates provided locator into XPath. Chris@0: * Chris@0: * @param string|array $locator current selector locator Chris@0: * Chris@0: * @return string Chris@0: */ Chris@0: public function translateToXPath($locator); Chris@0: }