Rayrun
← Back to Discord Forum

Attach MutationObserver to root element?

Hello! I'd like to attach a MutationObserver to the root element of the page in question, is is to see if the DOM changes when clicking a button. Is this possible?

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?"

0 replies

Related Discord Threads

TwitterGitHubLinkedIn
AboutQuestionsDiscord ForumBrowser ExtensionTagsQA Jobs

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 luc@ray.run.