PhantomJsCloud Automation API
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Touchscreen
tap
allows interaction with the touchscreen
Hierarchy
_PlatformObjBinding
Touchscreen
Index
Methods
tap
Methods
tap
tap
(
x
:
number
, y
:
number
)
:
Promise
<
void
>
x <number>
y <number>
returns: <Promise>
Dispatches a touchstart and touchend event.
Parameters
x:
number
y:
number
Returns
Promise
<
void
>
allows interaction with the touchscreen