Alert().accept() will accept the alerts only if it contains OK in alert body but what if there is any other text like "Leave" or "Stay". I am trying to use Alert().text(). But I am not sure how to use this syntax.
Any help is appreciated. Thanks.
Aucun commentaire:
Enregistrer un commentaire