I need to use a public site to get a registration number. This registration number can be chosen but only if it is not yet in use.
Unfortunately, the site does not provide the availability: I need to make a suggestion in a form and I get the return from the site (ok or in use)
I would like to automate the submission of the form to test for all possibilities (from 10.000 to 99.999).
I use this code
document.getElementById("fieldN20993").value ='99999' ; document.getElementsByName(";check")[0].click();
but the button to submit the form is only visible once the autovalidation has checked the validity of the submission (ie this is a number between 10.000 and 99.999)
what is the best way to automate?
many thanks in advance Best,