Automate Go to a page and Button Click

Hi everyone,

First of all, sorry for my english, I am a french girl …
I develop my own CRM in using Django with really pleasure and I want now to do some automatisation.

For the moment, I can go to a people and click on the button to do the update of the information.
here is my url with the id at the end: http://127.0.0.1:8000/peoples/people/109

I want to create a function in one of my views.py that do this job for a list of id
Dor example :
for my_id in [30, 58, 230]:
# Go to the page http://127.0.0.1:8000/peoples/people/ my_id
# Click on the button Run
# Wait the update is finished and … next

Do you know if it is possible and how to do it

Don’t think in terms of “pages” and “button clicks”.

Look at this in terms of the functionality of the views involved.

You can actually call a view from a different view.

So rather than thinking of this in terms of “go to the page…”, solve this in terms of “call the view for the ids 30, 58, and 230”.

Ok thanks for your response. I will take it into account
Thanks

Thais