Estoy tratando de extraer la respuesta de datos-hcaptcha del iframe de hcaptcha usando undetected_driver o selenium. Sin embargo, no funcionaría.
ctx.execute_script("document.title = 'test'") print(ctx.title) time.sleep(1) ctx.execute_script('document.getElementsByTagName("iframe")[0].getAttribute("data-hcaptcha-response")') print(ctx.title)