Inspect hovered element in Chrome?

前端 未结 21 1572
小鲜肉
小鲜肉 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 17:56

    it is so simple to edit these tooltips.

    Step 1: Inspect the element that has the tooltip. Make sure it is highlighted with blue in devtools.

    Step 2: right-click on the element (in devtools part) and select: attribute modifications, under Break on

    Step 3: Hover over the inspected element and a gray overlay will appear over the site with a small text: Paused in debugger

    at the top of your screen

    Step 4: Click on the blue arrow until the hover state is selected.

    Step 5: Inspect and edit the tooltip

提交回复
热议问题