dimanche 28 mars 2021

Click on submit button which does not have an id using selinium

i have tried to click on the submit button using on submit function but i cant see the result, the website i am trying to scrape is

Jntuh

The submit button has the following properties

<input type="submit" value="Submit">

i have used this .execute script

Resultbrowser.execute_script("""document.getElementById("myForm").onsubmit();""")

i dont know if the website has an on submit function

Entire code




Aucun commentaire:

Enregistrer un commentaire