Chrome inspector - remote debugger - Clipboard is

2019-06-24 14:09发布

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条回答
Emotional °昔
2楼-- · 2019-06-24 14:47

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.

查看更多
登录 后发表回答