Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

202
Visualizações
How to send a confirmation of a solved captcha on the site via Selenium (Python)?

I am solving a captcha through a website that provides this service via an API. But when I try to insert and send a solved captcha, I can't do anything.

Captcha_dict = {
  'proxy': '',
  'proxytype': '',
  'googlekey': '6LfnDXUUAAAAAAFwuBbkcfLWBxa1rlUikjzKwlhD',
  'pageurl': 'https://wazirx.com/signup'
}

json_Captcha = json.dumps(Captcha_dict)
client = package.SocketClient(username, password)
tokenContainer = ""

captcha = client.decode(type=4, token_params=json_Captcha)
browser.execute_script(f"document.getElementById('g-recaptcha-response').innerHTML='{tokenContainer}'")

wait = WebDriverWait(browser, 10)

wait.until(EC.frame_to_be_available_and_switch_to_it((By.XPATH,"/html/body/div[2]/div[2]/iframe")))
wait.until(EC.frame_to_be_available_and_switch_to_it((By.XPATH,'//*[@id="recaptcha-verify-button"]'))).click()

I try to click on the submit button, but selenium gives an error that there is no such button, although I switched to a frame with a captcha

I really need your help. I would be grateful to anyone who will answer me and somehow help in solving my problem. Thanks

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda