摘要: # 截取全屏 picture1 = str('yzm1')+'.png' self.driver.save_screenshot(picture1) # 定位验证码 code = self.driver.find_element_by_xpath('xxx') print(code.location 阅读全文
posted @ 2020-09-05 20:54 橙子Cjw 阅读(69) 评论(0) 推荐(0) 编辑
摘要: 1、【win64】 pip install pytesseract pip install pli 提示: Could not find a version that satisfies the requirement PIL 故: pip install wheel pip install Pil 阅读全文
posted @ 2020-09-05 19:34 橙子Cjw 阅读(385) 评论(0) 推荐(0) 编辑
摘要: 注册页需要勾选隐私,定位勾选框 第一种:使用ActionChains elem = driver.find_element_by_id('agree') actions = ActionChains(driver) actions.move_to_element(elem).click().perf 阅读全文
posted @ 2020-09-05 19:03 橙子Cjw 阅读(205) 评论(0) 推荐(0) 编辑