Auto fill form with javascript


Hello,
I would like to make a javascript program that automatically populates a form in the following site https://algeria.blsspainvisa.com/english/book_appointment.php
from my computer to this site
the form fields to fill
jurisdiction
phone
E-mail
request the verification code button to simulate a click
please do the tests at the site mentioned above
thank you

my script not work

this process should be graphical? Because many scrapers and crawlers are headless (so without GUI interface), but that won’t work here because of the i am not a robot option

you could see if any of libraries for web testing suite you:

https://medium.com/@adrian_lewis/top-5-most-rated-node-js-frameworks-for-end-to-end-web-testing-f8ebca4e5d44

i am personally only familiar with python selenium, which would also serve well for the purpose you want.

Do you have code so far? If you do, it would be wise to share this.