selenium识别验证码是否通过
本文最后更新于:2022年10月4日 晚上
其实就是识别验证码勾选框有没有打勾。
原理
切换到验证码的iframe页anchor,获取元素recaptcha-anchor的属性aria-checked就可以了。false
和 true
代码
1 |
|
selenium识别验证码是否通过
https://pawswrite.xyz/posts/21451.html
本文最后更新于:2022年10月4日 晚上
其实就是识别验证码勾选框有没有打勾。
切换到验证码的iframe页anchor,获取元素recaptcha-anchor的属性aria-checked就可以了。false
和 true
1 |
|