Getting error while opening new tab in iphone through Automation

Nothing is happening while trying to open the new tab in iPhone through my script. I have tried with different locators but getting same result.

Please use nativewebTap capability, if you want to open a new tab on Simulators.


When it is set to true, Appium will perform some magic behind the scenes any time you call click() on an element found in the browser. It will essentially try to determine the location of that element on the webpage, translate that location to native screen coordinates, account for any system bars and the like, and then generate a native (XCUITest-driven) tap on that location.

Please find below the link to get more info on the capability:

1 Like