截图操作
首先你需要F12
打开devtools,下面操作才会生效
- 按 command + shift + p (windows 按 Ctrl + shift + p),弹出命令输入框;
- 输入:screenshot
- 如下图选择相应的截图方式:
- Capture area screenshot:截取某个区域(需要选择某个标签)
- Capture full size screenshot:截取整个网页
- Capture node screenshot:截取某个标签节点
- Capture screenshot:截取当前可视区域