截图无法保存到文件
Tofloor
poster avatar
海天鹰
deepin
2020-12-23 07:56
Author

需要跨域,Chrome 通过启动参数关闭安全策略:

google-chrome-stable --disable-web-security --user-data-dir="/tmp/chrome"

想截图,发现不能保存到文件:

[愤怒]

我想了一下,应该是没有截断参数,把参数当成保存路径了:

google-chrome-stable --disable-web-security --user-dir="/tmp/chrome" + 截图保存路径

识别为:

google-chrome-stable --disable-web-security(截图保存路径)

正确的应该是:

google-chrome-stable 截图保存路径

推论:

所有带参数启动的软件窗口截图保存都会有问题。

Reply Favorite View the author
All Replies
guaguale
deepin
2020-12-23 17:07
#1

你做了什么操作? 这边一直在ok 你是不是自己开发了啥导致

Reply View the author