[Appium] Reduce Animation Flakiness in Appium UIA2 driver

Not new tips, but I’d like to share a small optimization config to reduce animation flakiness in the Appium UIA2 driver.

Capabilities:

{
  "appium:disableWindowAnimation": true,
  "appium:settings[actionAcknowledgmentTimeout]": 0,
  "appium:settings[waitForIdleTimeout]": 0,
  "appium:settings[waitForSelectorTimeout]": 0
}

The settings can be configured during a session via the Settings API. It means you can dynamically adjust the config by following your desired scenario.

Old post below also addresses waitForIdleTimeout and waitForSelectorTimeout also.

1 Comment

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.