bore
bore copied to clipboard
calling has('selector') only works for shadow roots
This should work for hosts if no shadow root is available like other forms: has(<div />)