4 * This file is part of the Mink package.
5 * (c) Konstantin Kudryashov <ever.zet@gmail.com>
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
11 namespace Behat\Mink\Selector;
14 * Mink selector engine interface.
16 * @author Konstantin Kudryashov <ever.zet@gmail.com>
18 interface SelectorInterface
21 * Translates provided locator into XPath.
23 * @param string|array $locator current selector locator
27 public function translateToXPath($locator);