Is there a way to instruct pynput to wait until the page loads before it clicks on the selected mouse position?
from pynput.mouse import Button, Controller import webbrowser webbrowser.open_new_tab("https://soundcloud.com/mistatokyo") mouse = Controller() locaton_play = (286, 521) mouse.position = locaton_play mouse.click(Button.left, 20)
2.1m questions
2.1m answers
60 comments
57.0k users