Home > Software design >  Anti Captcha services
Anti Captcha services

Time:02-04

I am trying to use selenium in combination with proxies for one of my projects but I always get a google page asking me to complete a captcha. Does anyone know how to stop google from detecting me or any free anti captcha services that work for node js? here is my code

const { Builder, Capabilities } = require("selenium-webdriver");

async function checkProxy() {
const proxy = "my proxy";

const capabilities = Capabilities.chrome();
capabilities.set("proxy", {
proxyType: "manual",
httpProxy: proxy,
sslProxy: proxy
});

const driver = await new Builder()
.withCapabilities(capabilities)
.forBrowser("chrome")
.build();
driver.get("https://whatismyip.com/");
}

CodePudding user response:

Don't think that's easely possible with java yet.

But you could try using enter image description here

For reCAPTCHA v2, use the following test keys. You will always get No CAPTCHA and all verification requests will pass.

Site key: 6LeIxAcTAAAAAJcZVRqyHh71UMIEGNQ_MXjiZKhI
Secret key: 6LeIxAcTAAAAAGG-vFI1TnRWxMZNFuojJ4WifJWe

You can read more about it here: https://developers.google.com/recaptcha/docs/faq

  • Related