jeudi 29 octobre 2020

Spy on window function with testcafe

I want to test with testcafe if a function on a window object is executed with certain parameters. Is it possible with Testcafe?

The function call looks like this:

window.myObject.myFunction({customObject: true});

Aucun commentaire:

Enregistrer un commentaire