My website has an infinite scroll (lazy loading). I am trying to check if an element is visible to the user, meaning if it is on the viewport. But I couldn't find a method in testcafe for this purpose.
The .exists
and .visible
methods seem to be not bound by viewport.
Is there any special method or function that could be used here?
Aucun commentaire:
Enregistrer un commentaire