mardi 13 novembre 2018

How do I stop chrome browser page navigation in python selenium?

I have to fetch a success message after click on a button. But after clicking button success message appears in few ms page loads to navigate to next page & all the elements disappears.

So, selenium is not able to fetch the element the mean time.

How could I overcome this issue? Can I stop page load after clicking the button?

I using Python in selenium.

Aucun commentaire:

Enregistrer un commentaire