-
-
Notifications
You must be signed in to change notification settings - Fork 210
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 #982
feat: Add support of executeMethodMap #982
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
* @param {import('./types').QueryAppStateOpts} opts | ||
* @returns {Promise<import('./types').AppState>} | ||
*/ | ||
export async function mobileQueryAppState(opts) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, ok. like this method is a thin wrapper, so drivers will map with this.queryAppState
## [10.0.0](v9.15.1...v10.0.0) (2025-01-31) ### ⚠ BREAKING CHANGES * The following driver methods and properties were removed: - executeMobile - mobileCommandsMapping - mobileLock - mobilePushFile - mobilePullFolder - mobilePullFile - mobileActivateApp - mobileQueryAppState * Arguments of the following driver methods were changed: - mobileExecEmuConsoleCommand - mobileShell - mobileChangePermissions - mobileGetPermissions - mobilePerformEditorAction - mobileGetDeviceTime - mobileStartScreenStreaming - mobileDeleteFile - mobileIsAppInstalled - mobileRemoveApp - mobileTerminateApp - mobileInstallApp - mobileClearApp - mobileStartService - mobileStopService - mobileStartActivity - mobileBroadcast - mobileGetContexts - mobileUnlock - mobileRefreshGpsCache - mobileStartMediaProjectionRecording - mobileStopMediaProjectionRecording - mobileGetConnectivity - mobileSetConnectivity - mobileDeviceidle - mobileBluetooth - mobileNfc - mobileSetUiMode - mobileGetUiMode - mobileInjectEmulatorCameraImage - mobileSendTrimMemory - mobileGetPerformanceData - mobilePerformStatusBarCommand - mobileFingerprint - mobileSendSms - mobileGsmCall - mobileGsmSignal - mobileGsmVoice - mobilePowerAc - mobilePowerCapacity - mobileNetworkSpeed - sensorSet - mobileSetGeolocation * The following obsolete type definitions were removed: - ExecOptions - ShellOpts - ChangePermissionsOpts - GetPermissionsOpts - PerformEditorActionOpts - DeviceTimeOpts - StartScreenStreamingOpts - PushFileOpts - PullFolderOpts - PullFileOpts - DeleteFileOpts - IsAppInstalledOpts - ActivateAppOpts - QueryAppStateOpts - RemoveAppOpts - TerminateAppOpts - InstallAppOpts - ClearAppOpts - StartServiceOpts - StopServiceOpts - StartActivityOpts - BroadcastOpts - LockOpts - UnlockOptions - GpsCacheRefreshOpts - StartMediaProjectionRecordingOpts - StopMediaProjectionRecordingOpts - GetConnectivityOpts - SetConnectivityOpts - DeviceidleOpts - BluetoothOptions - NfcOptions - SetUiModeOpts - GetUiModeOpts - ImageInjectionOpts - SendTrimMemoryOpts - PerformanceDataOpts - StatusBarCommandOpts - FingerprintOpts - SendSMSOpts - GsmCallOpts - GsmSignalStrengthOpts - GsmVoiceState - PowerACOpts - PowerCapacityOpts - NetworkSpeedOpts - SensorSetOpts - DragOpts - SwipeOpts ### Features * Add support of executeMethodMap ([#982](#982)) ([b68f3fa](b68f3fa))
🎉 This PR is included in version 10.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
BREAKING CHANGE: The following methods and properties were **removed**: - mobileCommandsMapping - mobileBackgroundApp BREAKING CHANGE: The following methods signatures were **changed**: - mobileSwipe - mobileScrollToPage - mobileClickAction - mobileNavigateTo - mobileIsToastVisible - mobileOpenDrawer - mobileCloseDrawer - mobileSetDate - mobileSetTime - mobileBackdoor - mobileFlashElement - mobileUiautomator - mobileWebAtoms - mobileDismissAutofill - mobileRegisterIdlingResources - mobileUnregisterIdlingResources - mobilePressKey - mobileSetClipboard - mobileStartService - mobileStopService - mobileStartActivity - mobileScreenshots Based on appium/appium-android-driver#982
## [4.0.0](v3.6.0...v4.0.0) (2025-02-01) ### ⚠ BREAKING CHANGES * The following methods and properties were **removed**: - mobileCommandsMapping - mobileBackgroundApp * The following methods signatures were **changed**: - mobileSwipe - mobileScrollToPage - mobileClickAction - mobileNavigateTo - mobileIsToastVisible - mobileOpenDrawer - mobileCloseDrawer - mobileSetDate - mobileSetTime - mobileBackdoor - mobileFlashElement - mobileUiautomator - mobileWebAtoms - mobileDismissAutofill - mobileRegisterIdlingResources - mobileUnregisterIdlingResources - mobilePressKey - mobileSetClipboard - mobileStartService - mobileStopService - mobileStartActivity - mobileScreenshots Based on appium/appium-android-driver#982 ### Features * Add support of executeMethodMap ([#1042](#1042)) ([00a38a2](00a38a2))
BREAKING CHANGE: 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 BREAKING CHANGE: 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 BREAKING CHANGE: 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
## [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))
BREAKING CHANGE: The following driver methods and properties were removed:
BREAKING CHANGE: Arguments of the following driver methods were changed:
BREAKING CHANGE: The following obsolete type definitions were removed: