How can I inspect disappearing element in a browser?

前端 未结 10 1844
灰色年华
灰色年华 2020-12-04 05:43

How can I inspect an element which disappears when my mouse moves away? \"Example

10条回答
  •  被撕碎了的回忆
    2020-12-04 06:36

    An alternative method in Chrome:

    • Open devTools (F12).
    • Select the "Sources" tab.
    • While the element you want is displayed, press F8 (or Ctrl+/). This will break script execution and "freeze" the DOM exactly as it is displayed.
    • From this point, use Ctrl+Shift+C to select the element.

提交回复
热议问题