jeudi 10 septembre 2020

Is it possible to disable hyperlinks in a TestCafe test?

I'm trying to test a custom analytics service with testcafe and I want to test post requests firing when a user clicks on a hyperlink. All links open in a new tab.

The problem I have is that the post request never gets recorded as TestCafe runs the get request and goes to the new page and the post request never gets logged.

Is there a way to disable the links in testcafe so I can record the post requests?

Aucun commentaire:

Enregistrer un commentaire