This thread is trying to answer question "Is it possible to attach a MutationObserver to the root element of a page to observe DOM changes when a button is clicked?"
Rayrun is a community for QA engineers. I am constantly looking for new ways to add value to people learning Playwright and other browser automation frameworks. If you have feedback, email [email protected].