摘要:
由于自己的工作需要,经常会用到这种需要输入图形验证码的登录,网上也有很多方式。 经常会遇到需要模拟手工操作输入验证的时候,也看了很多的方法,最后想了一下,决定写一个识别图像验证码的脚本。其实也就是将有图形验证码的页面截图下来,在使用Python的PIL库将验证码识别成可操作的对象。代码如下: # - 阅读全文
posted @ 2020-03-04 17:17
iris_jingjing
阅读(1125)
评论(0)
推荐(0)
摘要:
有些class属性中间有空格,如果直接复制过来定位是会报错的InvalidSelectorException: Message: The given selector u-label f-dn is either invalid or does not result in a WebElement. 阅读全文
posted @ 2020-03-04 15:06
iris_jingjing
阅读(1768)
评论(0)
推荐(0)
浙公网安备 33010602011771号