Answers for "how to scroll pyautogui"

1

how to scroll down a website using pyautogui

import pyautogui as gui
import time

time.sleep(5) #during the 5 secs move your cursor to the website you want to scroll
gui.scroll(any number)
Posted by: Guest on February-27-2021
3

pyautogui moveTo overtime

import pyautogui

#pyautogui.moveTo(X, Y, Seconds)
pyautogui.moveTo(100, 100, 2) #Move to X=100, Y=100 over a 2 seconds period
Posted by: Guest on June-02-2020
1

pyautogui mouse up mouse down

>>> import pyautogui
>>> pyautogui.click(10, 5)
Posted by: Guest on February-26-2020

Python Answers by Framework

Browse Popular Code Answers by Language