dimanche 1 décembre 2019

How to close two tabs and open a new tab with different url

I have a test case in QA where guest clicks on a link and a new tab will opens. But this new tab is defaulting to Prod, so I don't want to continue my test case in prod and I want this tab to close and navigate to a different url (the one that pointing to QA). How I can implement this using selenium web driver?

Aucun commentaire:

Enregistrer un commentaire