赞
踩
直接上代码
# 连续截图保存框架
import time
import pyautogui as pg
from PIL import ImageGrab
for x in range(3): # 例:连续截图49张
im = ImageGrab.grab(bbox=(0, 0, 1920, 1080)) # 例:截图 坐上右下
im.save(str(x) + ".png") # 保存
y=544+80*x
pg.click(x=y, y=14) # 例:点击固定坐标换页
time.sleep(1)
参考 https://blog.csdn.net/weixin_44331401/article/details/119347305
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。