-
-
Notifications
You must be signed in to change notification settings - Fork 187
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: Add support of executeMethodMap #863
Conversation
I was about to mention that the README should be updated as well, but none of these methods are actually described there 🤔 Still, I think it's worth at least editing the PR description to highlight replacements:
|
These are changes that might be important for people who work with driver directly or via inheritance. For the wast majority of end users (Appium users) they should be transparent. All existing execute methods must remain stable |
It is entirely plausible that there are users relying on |
added |
👍 |
added |
## [4.0.0](v3.10.0...v4.0.0) (2025-02-01) ### ⚠ BREAKING CHANGES * The following methods and properties were **removed**: - mobileSetClipboard -> replaced by setClipboard - mobileGetClipboard -> replaced by getClipboard - executeMobile -> replaced by execute (the` script` argument must also be changed to start with `mobile: `) - mobileCommandsMapping -> replaced by executeMethodsMap - mobileGetAppStrings -> replaced by getStrings * The following methods were **changed**: - mobileDragGesture - mobileFlingGesture - mobileDoubleClickGesture - mobileClickGesture - mobilePinchOpenGesture - mobilePinchCloseGesture - mobileSwipeGesture - mobileScrollGesture - mobileScrollBackTo - mobileScroll - mobileDeepLink - mobileAcceptAlert - mobileDismissAlert - mobileType - mobileReplaceElementValue - mobileInstallMultipleApks - mobileBackgroundApp - mobilePressKey - mobileScreenshots - mobileScheduleAction - mobileUnscheduleAction - mobileGetActionHistory * The following obsolete type definitions were **removed**: - DragOptions - FlingOptions - ClickOptions - LongClickOptions - PinchOptions - SwipeOptions - ScrollGestureOptions - ScrollElementToElementOpts - ScrollOptions - DeepLinkOpts - AcceptAlertOptions - DismissAlertOptions - TypingOptions - ReplaceValueOptions - InstallMultipleApksOptions - BackgroundAppOptions - PressKeyOptions - ScreenshotsOpts - ActionArgs - SetClipboardOpts - GetAppStringsOptions Based on appium/appium-android-driver#982 ### Features * Add support of executeMethodMap ([#863](#863)) ([4c45c3a](4c45c3a))
🎉 This PR is included in version 4.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
BREAKING CHANGE: The following methods and properties were removed:
script
argument must also be changed to start withmobile:
)BREAKING CHANGE: The following methods were changed:
BREAKING CHANGE: The following obsolete type definitions were removed:
Based on appium/appium-android-driver#982