Is there a paste function in chrome console?
"Getting the contents from clipboard"
Execute the following on devtools side and within 3 seconds focus on the window (by clicking somewhere, or just hitting <tab>
).
setTimeout(async()=>console.log(await window.navigator.clipboard.readText()), 3000)
This will just print the clipboard content. You can replace console.log with code that actually uses the clipboard content.
Press enter after copy(myCopyObj)
then try to Paste(ctrl+V)
. This will solve your purpose.