Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Airtest 滑动验证码实战 #27

Open
labeicode opened this issue Apr 28, 2024 · 1 comment
Open

Airtest 滑动验证码实战 #27

labeicode opened this issue Apr 28, 2024 · 1 comment

Comments

@labeicode
Copy link
Contributor

大佬,看了您的文章了解到Airtest技术,现在遇到了Airtest如何实现验证码滑块问题,还望大佬分享经验

github-actions bot pushed a commit that referenced this issue Apr 28, 2024
@m2kar
Copy link
Owner

m2kar commented Apr 28, 2024

大佬,看了您的文章了解到Airtest技术,现在遇到了Airtest如何实现验证码滑块问题,还望大佬分享经验

验证码滑块可以分为几步解决:

  1. 分析滑块位置:需要一些图像处理(CV)手段解决
  2. 确定点击拖拽坐标和路径: 写点算法使得路径看起来更拟人

具体的,基于airtest的滑块验证码资料可能少一些,基于selenium的滑块验证码资料可能多一些。技术上但大同小异,可以再找找看。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants