Chrome inspector - remote debugger - Clipboard is not enabled in hosted mode. Please inspect using chrome://inspect

时光毁灭记忆、已成空白 提交于 2020-01-03 16:51:24

问题


I am using the remote debugger inspector by visiting for example:

http://localhost:9222/devtools/inspector.html?ws=localhost:9222/devtools/page/33767d5c-6abf-4c79-b8e7-d3b0c251fcaa

The inspector works other than not being able to copy within the element, for copying xpath/sizzle selectors for instance which is really important.

But on copy I am getting:

Clipboard is not enabled in hosted mode. Please inspect using chrome://inspect

I am remote debugging using an "external" inspector in google-chrome on linux.

I get the same error on chromium-browser as well.

What do I need to do to enable clipboard in Google Chrome?


回答1:


For those coming to this question, this annoyed me too so I have recently added support for copy operations in devtools in hosted mode, and, as the PR has been merged, it should just work in the latest version from Github.



来源:https://stackoverflow.com/questions/45723541/chrome-inspector-remote-debugger-clipboard-is-not-enabled-in-hosted-mode-pl

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!