API.click() method added