How do I submit the form using JavaScript in v2captcha without using a button?

37 views Asked by At
      self.driver.execute_script(f"""
                               var gcaptcha = document.getElementsByClassName('g-recaptcha-response')
                               gcaptcha[0].style.display='block'
                               gcaptcha[0].innerHTML='{response}'""")

This is my code in Selenium. The code works, as it successfully adds the response to the textarea. However, I am facing an issue when it comes to submitting the form. I have heard about 'genterpise,' but I'm unsure where to find the callback. Can anyone help me? I am eager to learn. Thank you.

0

There are 0 answers