How to click on an element with Appium Java TestNG?

What should I do to click on an element with Appium Java TestNG?

Hi Macy,

To click the element with Appium Java-TestNG, you can refer to the sample command below:

 //Opens the browser
            MobileElement browser = (MobileElement) driver.findElementByAccessibilityId("Browser");
            browser.click();