jeudi 29 octobre 2020

I get "t.openWindow is not a function" errors when I use TestCafe Window Management methods

The process for writing multiple windows tests described in TestCafe documentation seems pretty straightforward: await t.openWindow('https://url.com/addnewproperty') or even const initialWindow = await t.getCurrentWindow()

should do it. However, every time I use any of the Window Management methods I get the errors:

TypeError: t.openWindow is not a function and cannot do anything about it.

Does anyone know what am I doing wrong and how to solve the issue?

TestCafe version 1.9.4

Aucun commentaire:

Enregistrer un commentaire