摘要:
# 截取全屏 picture1 = str('yzm1')+'.png' self.driver.save_screenshot(picture1) # 定位验证码 code = self.driver.find_element_by_xpath('xxx') print(code.location 阅读全文
摘要:
1、【win64】 pip install pytesseract pip install pli 提示: Could not find a version that satisfies the requirement PIL 故: pip install wheel pip install Pil 阅读全文
摘要:
注册页需要勾选隐私,定位勾选框 第一种:使用ActionChains elem = driver.find_element_by_id('agree') actions = ActionChains(driver) actions.move_to_element(elem).click().perf 阅读全文