noob coder here, not pretending to be anything else.
I'm trying to write a selector in Testcafe, and according to the documentation (so far as I have understood it) this should work, however it returns an error:
await t.click(Selector('span').withtext('Pending Applications').find(a.field-link.external-link))
The error it returns is
TypeError: (0 , _exportableLib.Selector)(...).withtext is not a function
Am I doing something wrong?
Aucun commentaire:
Enregistrer un commentaire