Skip to content

v9.1.0

Latest

Choose a tag to compare

@github-actions github-actions released this 01 Dec 20:54
· 3 commits to main since this release
6549829

🌟 Highlights

  • Appium Wincore driver support (#1159): Added WincoreDriver for Windows app automation with the Appium Wincore driver, plus AutomationName.Wincore, screen recording options, LaunchApp() and CloseApp().
  • Appium 4 session details (#1178): PlatformName, AutomationName, IsBrowser, SessionDetails and GetSessionDetail() now work on Appium 4, which removed GET /session/:sessionId.
  • --allow-unknown-args (#1182): Added GeneralOptionList.AllowUnknownArgs() for Appium 3.6 and later.

This release has no intentional breaking API changes.

⚠️ Upgrade notes

Deprecations

These members still work as before but now emit compiler warning CS0618. If your project treats warnings as errors, update or suppress these usages.

Deprecated Notes
WindowsDriver (#1159) Not supported since Appium 4. Use WincoreDriver.
GeneralOptionList: Shell, CallbackAddress, CallbackPort, NodeConfig, StrictCaps, DebugLogSpacing (#1179) Server arguments removed in Appium 4.
GeneralOptionList: PreLaunch, RobotAddress, RobotPort, AsyncTrace (#1179) Server arguments not supported by Appium 3 and later.
AndroidKeyCode.Keycode_MAX (#1147) Deprecated in Android API level 3.
AndroidKeyCode.FlagWokeHere (#1147) Deprecated in Android API level 20.

Behavior changes

  • PlatformName and AutomationName now read the capabilities returned when the session was created instead of calling the server. IsBrowser also reads browserName from those capabilities, and still queries the current context for browser sessions. (#1178)
  • SessionDetails and GetSessionDetail() still use GET /session/:sessionId where the server supports it, and otherwise fall back to GET /session/:sessionId/appium/capabilities. (#1178)
  • AppiumDriver.Location returns 0.0 for missing or invalid coordinates instead of throwing. (#1132)
  • StartRecordingScreen() and StopRecordingScreen() return null instead of throwing when the server returns no value. (#1159)

Dependencies

  • The minimum Selenium.WebDriver version is now 4.50.0 (was 4.46.0). Check the Selenium .NET changelog if you use Selenium's Firefox profile or BiDi APIs directly. (#1142)
  • System.Text.Json and System.Drawing.Common are now 10.0.13. (#1156, #1150)

What's Changed

✨ Enhancements

🐛 Bug Fixes

  • fix: read session details without the removed GET /session/:sessionId endpoint (#1178) @Dor-bl
  • fix: safely parse AppiumDriver.Location response (#1132) @Dor-bl

🧰 Maintenance

  • chore(android): mark deprecated AndroidKeyCode constants as Obsolete (#1147) @Dor-bl

📦 Dependencies

🧪 Tests

  • test: stop passing server arguments that Appium 4 removed (#1179) @Dor-bl
  • test: add local HTTP mock server for client-side command tests (#1160) @hoanle0126
  • test: run image comparison tests with the Appium images plugin (#1136) @Dor-bl
  • test: add unit tests for MobileBy factories, GuardClauses, AppiumServiceBuilder validation (#1128) @Dor-bl
  • test: cover AppiumServiceBuilder.WithStartUpTimeOut validation (#1148) @Dor-bl
  • test: add iOS ShakeDevice and PerformTouchID coverage (#1129) @Dor-bl
  • test(android): cover AndroidCommandExecutionHelper.OpenNotifications (#1149) @Dor-bl
  • test(android): wait for soft keyboard before hiding in KeyboardTests (#1175) @Dor-bl
  • test(android): retry touch actions when TextView elements go stale (#1143) @Dor-bl
  • fix(tests): use bundled iOS TestApp and retry app downloads (#1139) @Dor-bl
  • fix(tests): use ServerIsRemote() to pick Appium server in functional tests (#1135) @Dor-bl
  • fix(tests): handle null in Env.IsTrue (#1133) @Dor-bl

🛠️ Pipeline

  • build: require the .NET 10 SDK via global.json (#1186) @Dor-bl
  • ci: publish to NuGet with trusted publishing (#1192) @Dor-bl
  • ci: automatically update README compatibility matrix on release (#1158) @Dor-bl
  • ci: stabilize iOS session startup in functional tests (#1162) @Dor-bl
  • ci: stabilize iOS simulator startup before functional tests (#1121) @KazuCocoa
  • ci: stop test Dependabot entry from bumping library dependencies (#1144) @Dor-bl
  • ci: create env.json before build in functional tests (#1130) @Dor-bl
  • ci: install only platform-tools in Android SDK setup (#1126) @Dor-bl

📚 Documentation

  • docs: update driver links to docs sites (#1155) @eglitise
  • docs: update Windows application testing notice to mirror upstream guidance (#1119) @Dor-bl
  • docs: add v9 section for strong-name signing (#1125) @Dor-bl
  • docs: update compatibility matrix for 9.0.0 (#1157) @Dor-bl
  • docs: add AGENTS.md for AI coding agents (#1127) @Dor-bl

🚀 Contributors

Thanks to the following contributors in this release:
@carrerasdarren-cell, @Dor-bl, @eglitise, @hoanle0126 and @KazuCocoa

Full Changelog: v9.0.0...v9.1.0