Software⏱️ 2 min read📅 2026-05-30

How to Fix: performAction function in WebdriverIO for iOS is executing but the gesture is not performed. Why and how to make the gesture executed?

Learn how to fix: performAction function in WebdriverIO for iOS is executing but the gesture is not performed. Why and how to make the gesture executed?.

Quick Answer: Try checking your system settings or restarting.

The issue with the gesture not being performed in WebdriverIO for iOS can be attributed to several factors. Firstly, the `performAction` function is a part of the WebDriverIO API, but it requires additional configuration to work correctly on iOS devices.

🛑 Root Causes of the Error

  • The `performAction` function is not compatible with all iOS devices.

🔧 Proven Troubleshooting Steps

Method 1: Enable Gestures on iOS

  1. Step 1: Add the `enableGesture` option to your WebDriverIO capabilities.

Method 2: Use the `performAction` function with the correct selector

  1. Step 1: Ensure that you are using the correct selector for the element you want to interact with.

✨ Wrapping Up

By following these steps, you should be able to resolve the issue and have your gesture executed correctly on iOS devices.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions