Is PyAutoGUI really used at industry level?

The PyAutoGUI library possesses a robust array of features and functionalities that facilitate the automation of repetitive tasks. However, one may inquire whether this tool is actively employed within corporate environments. If so, what specific applications and tasks are executed utilizing PyAutoGUI?

I can’t find any specific example of a company using it but I would imagine that it is used to automate testing and repetitive tasks.

What innovative and practical projects can be developed to reduce the burden of daily repetitive tasks?

Furthermore, which specific repetitive tasks commonly encountered by individuals can be effectively automated using PyAutoGUI?

Sorry for my late reply but projects like automated webscraping and automated email sending can be effectively automated by PyAutoGUI. Here are a few project idea that use PyAutoGUI: Here and also here

It’s ok. Thank you for sharing ideas about PyAutoGUI.. :slightly_smiling_face:

NOTE: Webscraping and web automation does not seem possible if the HTML element ids are constantly changing and randomized, which one of our vendor’s softwares does. This is the first time I’ve seen randomized HTML ids. The Xpaths are also highly variable in this software so using Xpath to find data is not working either.

What I found: Some web-based apps can be automated, some can’t.

I use it for GUI testing sometimes. It’s never the preferred option. Where possible, I’ll use in-process testing where you can access the various widget objects directly using something like:

window = MyGui()
window.input_box.setText("sample input")
window.do_it_button.click()
app.processEvents()
assert window.output_box.text() == "expected output"
window.close()

This can be ran in the background without race conditions with other windows in the way or whilst you’re typing somewhere else whereas an equivalent using artificial mouse/key presses goes up in smoke whenever some would you like to update onedrive prompt appears infront of your window or some random background task runs in a momentary cmd window which causes the application you’re testing to loose window focus.

But sometimes in-process testing isn’t an option in which case pyautogui is the fallback.