title: Python + Selenium: Finish recaptcha after response has been submitted?
body: <p>So far my code works as expected, it gets a &quot;g-recaptcha-response&quot; from a captcha service (<a href="https://anti-captcha.com" rel="nofollow noreferrer">https://anti-captcha.com</a>), and inserts it to the recaptcha that is on the site. Now my problem comes here: what to do after it has been submitted? even tho the recaptcha response gets submitted, the recaptcha doesnt reach the checkmark point where it is completed. What is the last step i need to do to complete the recaptcha here? thank you in advance :]
  Python Code:</p>
  <pre><code>from selenium import webdriver
  from selenium.webdriver.chrome.options import Options
  from selenium.webdriver.support.ui import WebDriverWait
  from selenium.webdriver.common.by import By
  from selenium.webdriver.support import expected_conditions as EC
  from anticaptchaofficial.recaptchav2proxyless import *
  
  DRIVER = webdriver.Chrome(&quot;C:\\Users\\User\\Desktop\\chromedriver.exe&quot;)
  DRIVER.get(&quot;https://patrickhlauke.github.io/recaptcha/&quot;)
  
  data_sitekey = WebDriverWait(DRIVER, 20).until(EC.element_to_be_clickable((By.CLASS_NAME, &quot;g-recaptcha&quot;))).get_attribute(&quot;data-sitekey&quot;)
  print(data_sitekey)
  
  solver = recaptchaV2Proxyless()
  solver.set_verbose(1)
  solver.set_key(&quot;135986148491286418614&quot;)
  solver.set_website_url(&quot;https://patrickhlauke.github.io/recaptcha/&quot;)
  solver.set_website_key(data_sitekey)
  
  g_response = solver.solve_and_return_solution()
  if g_response != 0:
      print(&quot;g-response: &quot;+g_response)
  else:
      print(&quot;task finished with error &quot;+solver.error_code)
  
  DRIVER.execute_script(&quot;document.getElementById('g-recaptcha-response').innerHTML='&quot; + g_response + &quot;';&quot;);
  
  #execute_script(submit button)??? or what do i need to do here to finish the captcha
  
  </code></pre>