Inspect hovered element in Chrome?

前端 未结 21 1445
小鲜肉
小鲜肉 2020-12-22 17:44

I am trying to view, through Chrome\'s developer tools, how tooltips are structured on a site. However, even when I am hovered over the item, when I \"inspect element\", not

21条回答
  •  醉梦人生
    2020-12-22 18:17

    Here is how I did it on Mac:

    1. Hover over the element that has a tooltip with chrome devtools opened.
    2. Wait for the tooltip to appear.
    3. Open devtools command palette with a keyboard shortcut. Cmd+Shift+P worked for me.
    4. Type in Disable JavaScript and press Enter

    This will prevent from fading all the tooltips that utilize JavaScript.

提交回复
热议问题