vendredi 18 mai 2018

Python : selenium click on submit no redirect

I'm testing my django administration with Selenium. It's working fine until i want to submit my form.

self.webdriver.find_element_by_name('_save').click()

Here is the html :

<input type="submit" value="Enregistrer" class="default" name="_save">

So it should redirect me to another page, or atleast refresh this page printing errors. But it doesn't.

Do you know why submitting doesn't redirect me ?

Aucun commentaire:

Enregistrer un commentaire