nativeWebTap make the tests very slow

Hello,

in my automated tests I use the capability: nativeWepTap: true
I need it for a textbox to open the ios-keyboard
I use the RemoteWebDriver

With the capability my automated tests get very slow, does anybody else have the same issue?
When I remove the capability the tests are much faster.

Of course it would be slower. You could check the amount of code needed to be executed to perform a native tap: https://github.com/appium/appium-xcuitest-driver/blob/269b6d32fbb9eab48bd9c64193daa51178aa8eca/lib/commands/web.js#L181

That is why it is made to a setting and should only be enabled for cases where a “classic” tap via javascript does not work

1 Like