Launch Appium and start the server by clicking Start Server
Select New Session Window...
This will open a new window where you can define capabilities for the application you wish to record. Add needed capabilities, optionally save them so they can be reused in the future, and click Start Session
Select Start Recording
Locate the element you would like to tap using the elements tree. And press Tap
List of recorded commands will appear in the recorder pane. Select JS - Oxygen to the commands for Oxygen.