测试人社区

selenium-Captchas


title: “Captchas”
weight: 1

CAPTCHA, short for Completely Automated Public Turing test
to tell Computers and Humans Apart
,
is explicitly designed to prevent automation, so do not try!
There are two primary strategies to get around CAPTCHA checks:

  • Disable CAPTCHAs in your test environment
  • Add a hook to allow tests to bypass the CAPTCHA

官方链接为:https://www.selenium.dev/documentation/en/worst_practices/captchas