简体   繁体   中英

Save Safari javascript console to file?

Is it possible to save out the javascript console in Safari Web Inspector to a file? I can't find any way to do it, and the only way to select all is to drag with the cursor (very difficult when I have a long continuous stream of log output).

I figured something out:

While holding down SHIFT, select the start of the part you want. Then release SHIFT and scroll down with the scrollbar.

Shift-click again on the end of the selection. Then you can copy/paste as needed.

Click inside the console, s . There is no step 3.

Note that this saves the output in plain text so there's no colorization, highlighted fields, etc.

单击开发人员工具中控制台选项卡右侧的齿轮图标,然后取消选中“将行换行到编辑器宽度”后,我可以使用全选上下文菜单,选中此选项后,我只能复制第一行,未选中我可以全选并复制/粘贴成一个文本文件。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM