https://cypress.io logo
Hello! I got a small problem and would appreciate...
# help
g
Hello! I got a small problem and would appreciate any help 🙂 Basically I give access to clipboard using
Copy code
cy.wrap(
      Cypress.automation('remote:debugger:protocol', {
        command: 'Browser.grantPermissions',
        params: {
          permissions: ['clipboardReadWrite', 'clipboardSanitizedWrite'],
          origin: window.location.origin,
        },
      })
    );
This works great(with chrome) on
cypress open
but running the same test on
cypress run
will not work. Is someone have any clue what this differences could happen?