I have set ON the
“Show taps”
“Show Pointer location”
“Show key presses”
at the developer options on the emulator, but I still can’t see the taps/swipe track while executing the performActions commands like this:
await driver.performActions([
{
type: 'pointer',
id: 'finger1',
parameters: {pointerType: 'touch'},
actions: [
{type: 'pointerMove', duration: 0, x: xInt, y: yInt},
{type: 'pointerDown', button: 0},
{type: 'pause', duration: 100},
{type: 'pointerUp', button: 0}
]
}
])
await driver.performActions([
{
type: 'pointer',
id: 'finger1',
parameters: {pointerType: 'touch'},
actions: [
{type: 'pointerMove', duration: 0, x, y},
{type: 'pointerDown', button: 0},
{type: 'pointerMove', duration: 20, x: x + moveX, y: y + moveY},
{type: 'pointerUp', button: 0}
]
}
])
but pressing the Android back button is shown:
await driver.pressKeyCode(4)
My app is webview - could it be a reason?
What should I do to enable the taps/swipe show?
Is there another way to verify the tap/swipe location?