- 博客(1)
- 收藏
- 关注
原创 【python】用selenium右键保存图片报错 AttributeError: module ‘pyscreeze‘ has no attribute ‘locateOnWindow‘的解决方法
在使用selenium模块进行爬取图片时,模拟鼠标右键点击,选择“图片另存为”保存图片(不使用pyautogui模块)from selenium.webdriver.common.action_chains import ActionChainsfrom selenium.webdriver.common.keys import Keysfrom selenium import webdriverfrom time import sleepurl = 'https://gimg2.baidu.c
2021-09-04 20:38:48
1561
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人