I'm writing a cypress test and following javascript works in the chrome console
$.event.trigger({ type: "Scan", message: "scanned", time: new Date() });
Is there a way I can run the command above in cypress when I get to the specific page?
Aucun commentaire:
Enregistrer un commentaire