Chrome Dev Tools export Elements HTML

前端 未结 2 675
暗喜
暗喜 2021-01-05 03:54

To debug my chromium-embedded application I am looking for a function to get the source code of the web page from withing the chrome developer tools. I basically want the HT

相关标签:
2条回答
  • 2021-01-05 04:37

    Select the top node and choose "Copy". You'll have to re-add the Doctype, though.

    Exporting HTML from Chrome DevTools

    Alternatively, you could click on "edit as HTML" and copy it from there.

    0 讨论(0)
  • 2021-01-05 04:42

    You can try the following:

    All you have to do is right click the element and copy the outerHTML.

    0 讨论(0)
提交回复
热议问题