We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 70df10d + 1a3445e commit 32c414fCopy full SHA for 32c414f
XPath/Translator.php
@@ -91,7 +91,6 @@ public function cssToXPath(string $cssExpr, string $prefix = 'descendant-or-self
91
{
92
$selectors = $this->parseSelectors($cssExpr);
93
94
- /** @var SelectorNode $selector */
95
foreach ($selectors as $index => $selector) {
96
if (null !== $selector->getPseudoElement()) {
97
throw new ExpressionErrorException('Pseudo-elements are not supported.');
0 commit comments