hide-if-matches-xpath

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

Basic static usage

Test that basic usage of the snippet works as expected against a static target.

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

Steps

Filters

Class Usage

Test that basic usage of the snippet works as expected against target that is containing specific class.

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

Steps

Filters

Hide if Id starts with

Test that basic usage of the snippet works as expected against target that is starting with ID.

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

Steps

Filters