Replaced mouse.click() with mouse.down() followed by mouse.up() to address input issues on Linux Wayland (tested on KDE kwin_wayland). This change also ensures continued compatibility with other platforms, including Windows and various Linux environments, preserving consistent and reliable mouse interaction across all supported systems.
Replaced
mouse.click()
withmouse.down()
followed bymouse.up()
to address input issues on Linux Wayland (tested on KDE kwin_wayland). This change also ensures continued compatibility with other platforms, including Windows and various Linux environments, preserving consistent and reliable mouse interaction across all supported systems.