diff --git a/src/Selector/PartialNamedIncludingHiddenSelector.php b/src/Selector/PartialNamedIncludingHiddenSelector.php new file mode 100644 index 000000000..ff15c43b0 --- /dev/null +++ b/src/Selector/PartialNamedIncludingHiddenSelector.php @@ -0,0 +1,26 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ + +namespace Behat\Mink\Selector; + +/** + * Named selectors engine. Uses registered XPath selectors to create new expressions. + * + * @author Konstantin Kudryashov + */ +class PartialNamedIncludingHiddenSelector extends PartialNamedSelector +{ + public function __construct() + { + $this->registerReplacement('%notFieldTypeFilter%', "not(%buttonTypeFilter%)"); + + parent::__construct(); + } +}