- generic [ref=e1]:
  - generic [ref=e3]:
    - heading "React + Shadow DOM Complex Test" [level=1] [ref=e4]
    - generic [ref=e5]:
      - heading "1. Shadow DOM Web Component" [level=2] [ref=e6]
      - generic [ref=e8]:
        - generic [ref=e9]: Shadow DOM Content
        - generic:
          - paragraph [ref=e10]: Slotted content from React
          - button "React Button Inside Shadow DOM" [ref=e11]
    - generic [ref=e12]:
      - heading "2. Recursive Component Tree" [level=2] [ref=e13]
      - generic [ref=e14]:
        - generic [ref=e15] [cursor=pointer]:
          - generic [ref=e16]: ▼
          - generic [ref=e17]: Node Level 1
        - generic [ref=e18]:
          - generic [ref=e19]:
            - generic [ref=e20] [cursor=pointer]:
              - generic [ref=e21]: ▼
              - generic [ref=e22]: Node Level 2
            - generic [ref=e23]:
              - generic [ref=e25] [cursor=pointer]:
                - generic [ref=e26]: ▶
                - generic [ref=e27]: Node Level 3
              - generic [ref=e29] [cursor=pointer]:
                - generic [ref=e30]: ▶
                - generic [ref=e31]: Node Level 3
              - generic [ref=e33] [cursor=pointer]:
                - generic [ref=e34]: ▶
                - generic [ref=e35]: Node Level 3
          - generic [ref=e36]:
            - generic [ref=e37] [cursor=pointer]:
              - generic [ref=e38]: ▼
              - generic [ref=e39]: Node Level 2
            - generic [ref=e40]:
              - generic [ref=e42] [cursor=pointer]:
                - generic [ref=e43]: ▶
                - generic [ref=e44]: Node Level 3
              - generic [ref=e46] [cursor=pointer]:
                - generic [ref=e47]: ▶
                - generic [ref=e48]: Node Level 3
              - generic [ref=e50] [cursor=pointer]:
                - generic [ref=e51]: ▶
                - generic [ref=e52]: Node Level 3
          - generic [ref=e53]:
            - generic [ref=e54] [cursor=pointer]:
              - generic [ref=e55]: ▼
              - generic [ref=e56]: Node Level 2
            - generic [ref=e57]:
              - generic [ref=e59] [cursor=pointer]:
                - generic [ref=e60]: ▶
                - generic [ref=e61]: Node Level 3
              - generic [ref=e63] [cursor=pointer]:
                - generic [ref=e64]: ▶
                - generic [ref=e65]: Node Level 3
              - generic [ref=e67] [cursor=pointer]:
                - generic [ref=e68]: ▶
                - generic [ref=e69]: Node Level 3
    - generic [ref=e70]:
      - heading "3. React Portal" [level=2] [ref=e71]
      - button "Open Portal Modal" [active] [ref=e72] [cursor=pointer]
    - generic [ref=e73]:
      - heading "4. Dynamic Iframe" [level=2] [ref=e74]
      - iframe [ref=e75]:
        - generic [active] [ref=f1e1]:
          - heading "Nested Iframe Content" [level=3] [ref=f1e2]
          - button "Click Me" [ref=f1e3] [cursor=pointer]
          - paragraph [ref=f1e4]: This content lives in an isolated iframe context.
    - generic [ref=e76]:
      - heading "5. Dynamic Component Injection" [level=2] [ref=e77]
      - button "Add Random Component" [ref=e78] [cursor=pointer]
    - generic [ref=e79]:
      - heading "6. Context Providers Stack" [level=2] [ref=e80]
      - generic [ref=e81]: Deeply nested context providers
  - generic [ref=e83]:
    - heading "Portal Content" [level=2] [ref=e84]
    - paragraph [ref=e85]: This is rendered outside the normal React tree using createPortal.
    - button "Close Portal" [ref=e86] [cursor=pointer]