Class 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.