You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WebDriver helper clicks iOS elements with touchClick, which webdriverio 10 removes #5756
Run CodeceptJS WebDriver scenarios against iOS Safari through Appium (XCUITest) without deprecation noise, and move to webdriverio 10.
What do you get instead?
On a mobile session whose platformName is not android, click, checkOption and uncheckOption in lib/helper/WebDriver.js call browser.touchClick, the JSON Wire Protocol /touch/click command. On webdriverio 9 every iOS click prints:
⚠️ [WEBDRIVERIO DEPRECATION NOTICE] Use `driver.performActions(...)` with `pointerDown` and `pointerUp` actions instead
Webdriverio 10 drops the JSON Wire Protocol and removes touchClick from @wdio/protocols, so on webdriverio 10 the same calls throw this.browser.touchClick is not a function.
Appium XCUITest supports the W3C elementClick command, which the helper already uses on Android and desktop. Using it on every platform removes the warning and works on webdriverio 9 and 10. A PR with that change follows.
Activity