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
fix(appium): resolve "Unsupported helper type: unknown" in fillField
Appium extends WebDriver but WebElement._detectHelperType only checked
constructor.name === 'WebDriver', so Appium helpers fell through to
'unknown'. fillRichEditor (added in #5527) wraps elements in WebElement
and calls evaluate(), which then threw on every fillField/appendField
call from Appium.
- WebElement now walks the prototype chain so any subclass of
WebDriver/Playwright/Puppeteer is detected correctly.
- WebDriver.fillField skips fillRichEditor when isWeb === false, since
rich-editor detection needs a DOM that doesn't exist in Appium native.
- Appium constructor: appiumV2 defaulted via `|| true` (always truthy);
the v1-deprecation banner then fired on every default-config user.
Fixed both: explicit `appiumV2: false` is now honored, and the banner
only prints when the user opts into v1.
- Added regression tests for prototype-chain detection.
- Enabled the Android Appium workflow on pull_request to 4.x so the fix
can be verified end-to-end via Sauce Labs from the PR.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
0 commit comments