public function ExactNamedSelector::__construct in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/behat/mink/src/Selector/ExactNamedSelector.php \Behat\Mink\Selector\ExactNamedSelector::__construct()
Creates selector instance.
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();
}