Class ElementObscure
- java.lang.Object
-
- com.github.loyada.jdollarx.visual.ElementObscure
-
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
Obscure
public class ElementObscure extends Object implements AutoCloseable
An AutoCloseable that allows to make a list of given elements temporarily invisible, so that the image can be captured/asserted while ignoring certain DOM elements. When closing, the DOM is reversed to the original state.
-
-
Constructor Summary
Constructors Constructor Description ElementObscure(InBrowser browser, Path element)ElementObscure(InBrowser browser, List<Path> elements)ElementObscure(InBrowser browser, List<Path> elements, boolean strict)
-