2021
04-27
04-27
python自动化调用百度api解决验证码
自动化测试验证码登陆的三种解决方式1,找开发关闭验证码2,找开发设置万能验证码3,使用第三方接口识别验证?不能100%识别,比自己搭建的ocr识别的识别率高很多具体讲的就是第三种-调用百度云识别验证码:fromseleniumimportwebdriverfromPILimportImageimportbase64importrequestsimporttimedefbaidu_api(Verification_code,AK,SK):#Verification_code验证码路径,AK,SK百度云的身份识别码chrome.get_screenshot_a...
继续阅读 >