lundi 23 novembre 2020

Error with Selector in TestCafe - method .find()

I'm struggling to define a selector in TestCafe with the ".find" method,I need to click that link "Start a claim" as per image below. enter image description here

I'm using the id element and using the ".find" to go to the link. It seems Testcafe is not happy with that selector, it throws error as "undefined" very often...

await t.(Selector('#policySummaryDetails_M0014157733').find('#claimLink_0'))

Aucun commentaire:

Enregistrer un commentaire