LDTP
3.5.0
|
mouseleftclick('<window name>', '<object name>')
Tries to grab focus of the object, then move the mouse to the center of object and does a left click
Returns | 1 on success, LdtpExecutionError exception will be thrown on failure |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/mouse.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/mouse.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Mouse.cs
mouseleftclick('*-gedit', 'btnOpen')