These are the two commands to simulate swipe / tap respectively.
Run Shell [ Command:input swipe 20 1250 20 50 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
Run Shell [ Command:input tap 30 1250 Timeout (Seconds):0 Use Root:On Store Output In: Store Errors In: Store Result In: ]
Thread about this --
From the thread :
"Having said that... there is one thing that I found you will need to do when trying to figure out your screen co-ordinates (for the <x> and <y> numbers above). The easiest way to find out where your buttons are is to go into the 'Developer options' of your phone and turn on 'Show pointer location'. When that is turned on, you can see the X and Y co-ordinates of where your finger is touching the screen. If you point at a button you want to have Tasker click with the 'input tap' command, you can get the X and Y co-ordinate numbers using this, and can then complete your 'input tap <x> <y>' command with the right numbers."