https://cypress.io logo
It sounds like there will be a better way for you ...
# e2e-testing
f
It sounds like there will be a better way for you to handle this use case with less manual intervention, but if you're dead set on copying to clipboard, you could do something like in this blog https://egghead.io/blog/handling-copy-and-paste-in-cypress