简体   繁体   English

如何绕过Selenium C#中的Supreme Captcha

[英]How to Bypass Supreme Captcha in Selenium C#

I recently made a Supreme ( https://www.supremenewyork.com/shop/all ) checkout automation software, one thing that I can not figure out is why I get a Captcha every time I try to checkout, this usually only happens when they suspect you to be a bot.我最近做了一个 Supreme ( https://www.supremenewyork.com/shop/all ) 结账自动化软件,我想不通的是为什么每次我尝试结账时都会得到一个验证码,这通常只发生在他们怀疑你是机器人。 I have tried to put delays in sending keys to make it more human like.我试图延迟发送密钥以使其更像人。 I have also tried to log into google on another tab to try to prevent this.我还尝试在另一个选项卡上登录 google 以防止这种情况发生。 None of these strategies have worked.这些策略都没有奏效。 It seems that the website knows that I am automating with Selenium I know this because if I open the website on a Selenium Web Browser and manually try to checkout, it still prompts me with a captcha.该网站似乎知道我正在使用 Selenium 进行自动化我知道这一点,因为如果我在 Selenium Web 浏览器上打开网站并手动尝试结帐,它仍然会提示我验证码。 This usually only happens when they suspect automation, and does not occur on my normal browser.这通常只在他们怀疑自动化时发生,而不会发生在我的普通浏览器上。 Any tips or suggestions on how I can solve my problem?关于如何解决我的问题的任何提示或建议? I think I have seen other developer get around this so I think it is possible.我想我已经看到其他开发人员解决了这个问题,所以我认为这是可能的。

您应该检查请求的用户代理。

Selenium makes it obvious that the web browser is being automated, you should see this related question: Selenium 清楚地表明 Web 浏览器正在自动化,您应该看到这个相关问题:

Can a website detect when you are using selenium with chromedriver? 当您在 chromedriver 中使用 selenium 时,网站可以检测到吗?

You could download and modify the Selenium source to make it less obvious.您可以下载并修改 Selenium 源代码以使其不那么明显。 Source code is here:源代码在这里:

https://github.com/SeleniumHQ/selenium https://github.com/SeleniumHQ/selenium

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM