vendredi 2 octobre 2020

How can we find all links in a website other than home page using java selenium

I want to get all links with its response code in a website other than home page. I have tried using findElements method with anchor tag but this gives me links on home page only. Now suppose i have some menus also in that home page and i want to get links associated with that pages also. Is it possible??

Aucun commentaire:

Enregistrer un commentaire