LDTP
3.5.0
|
getobjectsize('<window name>'[, '<object name>'])
Get the object size, of the given window. If object does not exist, then LdtpExecutionError will be thrown.
x,y,width,height | as a list and as int type will be returned on success, LdtpExecutionError exception on failure |
Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtpd/core.py
Mac: https://github.com/ldtp/pyatom/blob/master/atomac/ldtpd/core.py
Windows: https://github.com/ldtp/cobra/blob/master/Ldtpd/Generic.cs
launchapp('gedit')
getobjectsize('*-gedit', 'btnFind')