chrome ·

Inspecting elements that only appear on hover

  1. Execute debugger inside a setTimeout handler with a few seconds.
  2. Go and hover or interact with the element you want to inspect.
  3. When the debugger breakpoint hits the UI elements are frozen and you can easily inspect.

setTimeout(() => { debugger; }, 3000)