lundi 29 juillet 2019

'alt+left' for going to previous page doesn't work with testcafe but works fine manually

I'm trying to go back to the previous page from the existing page from my TestCafe code using:

await t.pressKey('alt+left');

But this doesn't seem to work. There is no change in the page. But manually when I verify in the browser, it seems to work fine.

Could someone help me with this, I want to be able to go back to the previous page using keyboard strokes alone.

Aucun commentaire:

Enregistrer un commentaire