Sample Header Ad - 728x90

How to inspect GUI elements (buttons, fields, forms) in Linux and automate, control them from Python script?

2 votes
1 answer
392 views
There are some tools to simulate users actions (moving mouse, clicking buttons, filling forms and so on) in Linux, like we do it in Windows with Python and pywinauto or pyautogui libraries. On Linux such tools are ldtp, xdotool, wmctrl, but they do it by desktop coordinates. But is there a tool like "inspect.exe" in Windows to find specific id-s and selectors, automationID-s of each child GUI-element (of each button, field, form, and so on) of the opened windows to automate them? Xwininfo is not enough, while it provides only windows ids without buttons and fields info. **How to get the ids of the buttons, fields, forms to manipulate them, not only windows ids.** Let's talk first of all about Mint and Alt Linux with MATE (Xorg-based GUI, not Wayland).
Asked by Anton Makarov (121 rep)
Jun 24, 2024, 06:53 AM
Last activity: Jun 24, 2024, 11:01 AM