function ExactNamedSelector::__construct
Overrides NamedSelector::__construct
File
-
vendor/
behat/ mink/ src/ Selector/ ExactNamedSelector.php, line 18
Class
- ExactNamedSelector
- Exact match selector engine. Like the Named selector engine but ignores partial matches.
Namespace
Behat\Mink\SelectorCode
public function __construct() {
$this->registerReplacement('%tagTextMatch%', 'normalize-space(string(.)) = %locator%');
$this->registerReplacement('%valueMatch%', './@value = %locator%');
$this->registerReplacement('%titleMatch%', './@title = %locator%');
$this->registerReplacement('%altMatch%', './@alt = %locator%');
$this->registerReplacement('%relMatch%', './@rel = %locator%');
$this->registerReplacement('%labelAttributeMatch%', './@label = %locator%');
parent::__construct();
}