'click on the ui object.
Usage:
d(text="Clock").click()  # click on the center of the ui object
d(text="OK").click.wait(timeout=3000) # click and wait for the new window update
d(text="John").click.topleft() # click on the topleft of the ui object
d(text="John").click.bottomright() # click on the bottomright of the ui object'

@property
def click(self):

    @param_to_property(action=['tl', 'topleft', 'br', 'bottomright', 'wait'])
    def _click(action=None, timeout=3000):
        if (action is None):
            return self.jsonrpc.click(self.selector)
        elif (action in ['tl', 'topleft', 'br', 'bottomright']):
            return self.jsonrpc.click(self.selector, action)
        else:
            return self.jsonrpc.clickAndWaitForNewWindow(self.selector, timeout)
    return _click
