disableDomAgent

open suspend override fun disableDomAgent()

Disables the DOM agent to stop receiving DOM-related events.

This method is useful when you no longer need to interact with the DOM or want to clean up resources.