Note though it's not `console.copy` but `copy`; it's a part of Command Line API [1] which is not the same as Console API [2] - command line API is not accessible from JS of the page.
[1] https://developer.chrome.com/devtools/docs/commandline-api#c...
[2] https://developer.chrome.com/devtools/docs/console-api
Note though it's not `console.copy` but `copy`; it's a part of Command Line API [1] which is not the same as Console API [2] - command line API is not accessible from JS of the page.
[1] https://developer.chrome.com/devtools/docs/commandline-api#c...
[2] https://developer.chrome.com/devtools/docs/console-api