Update login.py

滑块移动慢一点
This commit is contained in:
zhao-zg 2025-05-26 09:38:44 +08:00 committed by GitHub
parent 78afca1f15
commit b5adf12f3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -802,7 +802,7 @@ async def verification(page):
distance = await get_distance()
await page.mouse.move(box["x"] + 10, box["y"] + 10)
await page.mouse.down()
steps=20
steps=30
start_x = box["x"] # 直接使用box的x作为起点
start_y = box["y"] # Y轴固定不变
end_x = start_x + distance