Articles → Python → Pyautogui.Confirm Function In Pyautogui
Pyautogui.Confirm Function In Pyautogui
Purpose
Example
import pyautogui
buttonClicked = pyautogui.confirm(text="Are you sure you want to submit?", title="Confirmation", buttons=['Agree','disagree'])
print(buttonClicked)
Output
Click to Enlarge