LDTP  2.3.1
getobjectnameatcoords

Syntax

getobjectnameatcoords([wait])

Description

Get object name at the mouse coordinates

Return values:
1on success, 0 on failure

Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtp.py

Example

 from ldtp import *

 print getobjectnameatcoords()

 print getobjectnameatcoords(5)
Author:
Nagappan Alagappan <nagappan@gmail.com>