The JSDOM document object
The JSDOM instance
The JSDOM window object
Shadow-piercing querySelector: returns the first element matching
selector anywhere in the mounted tree, descending into open shadow roots
— so tests need not hand-walk shadowRoot. Returns null if none match.
Shadow-piercing querySelectorAll: every match across open shadow boundaries, in document order.
Interface representing the context after mounting a component in JSDOM
MountContext