Created
January 23, 2019 14:28
-
-
Save cherniag/54773a66af3ad152d6451ff68f0bfaca to your computer and use it in GitHub Desktop.
How can I inspect html element that disappears from DOM on lost focus?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type this in the Console: | |
setTimeout(() => { debugger; }, 5000) | |
Then you've got 5 seconds (or change the value to anything else) to make whatever you want to debug appear. | |
None of the other answers worked for me - the DOM tree kept getting modified (i.e. stuff I care about disappeared) right before the script paused. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment