hide-if-matches-xpath3

Check that the hide-if-matches-xpath3 snippet is working as expected.

Hide if class matches regex

Test that basic usage of the snippet works as expected against target whose class matches a regex.

Example Content
Failed. Element is not hidden.

Steps

Filters

Normalize and join strings

Test that basic usage of the snippet works as expected against a target where the combined text content of the inner span elements matches with the given string.

Example Content
Failed. Element is not hidden.

Steps

Filters

Cast to number

Test that basic usage of the snippet works as expected against target whose attribute value can be casted into number.

Example Content
Failed. Element is not hidden
Should not be hidden.
Should not be hidden.

Steps

Filters