Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,13 @@ that existed in Appium 2 and was removed or deprecated in Appium 3 is not guaran

Appium java client has dedicated classes to support the following Appium drivers:

- [UiAutomator2](https://github.com/appium/appium-uiautomator2-driver) and [Espresso](https://github.com/appium/appium-espresso-driver): [AndroidDriver](src/main/java/io/appium/java_client/android/AndroidDriver.java)
- [XCUITest](https://github.com/appium/appium-xcuitest-driver): [IOSDriver](src/main/java/io/appium/java_client/ios/IOSDriver.java)
- [UiAutomator2](https://appium.github.io/appium-uiautomator2-driver) and [Espresso](https://appium.github.io/appium-espresso-driver): [AndroidDriver](src/main/java/io/appium/java_client/android/AndroidDriver.java)
- [XCUITest](https://appium.github.io/appium-xcuitest-driver): [IOSDriver](src/main/java/io/appium/java_client/ios/IOSDriver.java)
- [Windows (deprecated, not supported since Appium 4)](https://github.com/appium/appium-windows-driver): [WindowsDriver](src/main/java/io/appium/java_client/windows/WindowsDriver.java)
- [Wincore](https://github.com/appium/appium-wincore-driver): [WincoreDriver](src/main/java/io/appium/java_client/wincore/WincoreDriver.java)
- [Safari](https://github.com/appium/appium-safari-driver): [SafariDriver](src/main/java/io/appium/java_client/safari/SafariDriver.java)
- [Gecko](https://github.com/appium/appium-geckodriver): [GeckoDriver](src/main/java/io/appium/java_client/gecko/GeckoDriver.java)
- [Mac2](https://github.com/appium/appium-mac2-driver): [Mac2Driver](src/main/java/io/appium/java_client/mac/Mac2Driver.java)
- [Wincore](https://appium.github.io/appium-wincore-driver): [WincoreDriver](src/main/java/io/appium/java_client/wincore/WincoreDriver.java)
- [Safari](https://appium.github.io/appium-safari-driver): [SafariDriver](src/main/java/io/appium/java_client/safari/SafariDriver.java)
- [Gecko](https://appium.github.io/appium-geckodriver): [GeckoDriver](src/main/java/io/appium/java_client/gecko/GeckoDriver.java)
- [Mac2](https://appium.github.io/appium-mac2-driver): [Mac2Driver](src/main/java/io/appium/java_client/mac/Mac2Driver.java)

To automate other platforms that are not listed above you could use
[AppiumDriver](src/main/java/io/appium/java_client/AppiumDriver.java) or its custom derivatives.
Expand Down
38 changes: 19 additions & 19 deletions docs/v7-to-v8-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,26 +87,26 @@ Check
- https://www.youtube.com/watch?v=oAJ7jwMNFVU
- https://www.headspin.io/blog/ios-specific-touch-action-methods
- Android gesture shortcuts:
* [mobile: longClickGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-longclickgesture)
* [mobile: doubleClickGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-doubleclickgesture)
* [mobile: clickGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-clickgesture)
* [mobile: dragGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-draggesture)
* [mobile: flingGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-flinggesture)
* [mobile: pinchOpenGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-pinchopengesture)
* [mobile: pinchCloseGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-pinchclosegesture)
* [mobile: swipeGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-swipegesture)
* [mobile: scrollGesture](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/android-mobile-gestures.md#mobile-scrollgesture)
* [mobile: longClickGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-longclickgesture)
* [mobile: doubleClickGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-doubleclickgesture)
* [mobile: clickGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-clickgesture)
* [mobile: dragGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-draggesture)
* [mobile: flingGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-flinggesture)
* [mobile: pinchOpenGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-pinchopengesture)
* [mobile: pinchCloseGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-pinchclosegesture)
* [mobile: swipeGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-swipegesture)
* [mobile: scrollGesture](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-scrollgesture)
- iOS gesture shortcuts:
* [mobile: swipe](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-swipe)
* [mobile: scroll](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-scroll)
* [mobile: pinch](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-pinch)
* [mobile: doubleTap](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-doubletap)
* [mobile: touchAndHold](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-touchandhold)
* [mobile: twoFingerTap](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-twofingertap)
* [mobile: tap](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-tap)
* [mobile: dragFromToForDuration](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-dragfromtoforduration)
* [mobile: dragFromToWithVelocity](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-dragfromtowithvelocity)
* [mobile: scrollToElement](https://github.com/appium/appium-xcuitest-driver/blob/master/docs/execute-methods.md#mobile-scrolltoelement)
* [mobile: swipe](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-swipe)
* [mobile: scroll](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-scroll)
* [mobile: pinch](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-pinch)
* [mobile: doubleTap](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-doubletap)
* [mobile: touchAndHold](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-touchandhold)
* [mobile: twoFingerTap](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-twofingertap)
* [mobile: tap](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-tap)
* [mobile: dragFromToForDuration](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-dragfromtoforduration)
* [mobile: dragFromToWithVelocity](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-dragfromtowithvelocity)
* [mobile: scrollToElement](https://appium.github.io/appium-xcuitest-driver/latest/reference/execute-methods/#mobile-scrolltoelement)
- https://www.headspin.io/blog/automating-complex-gestures-with-the-w3c-actions-api
for more details on how to properly apply W3C Actions to your automation context.

Expand Down
2 changes: 1 addition & 1 deletion docs/v8-to-v9-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ or [Espresso driver options](../src/main/java/io/appium/java_client/android/opti
[driver options](../src/main/java/io/appium/java_client/remote/options/BaseOptions.java) instead.
- Several misspelled methods. Use properly spelled alternatives instead.
- `startActivity` method from AndroidDriver. Use
[mobile: startActivity](https://github.com/appium/appium-uiautomator2-driver#mobile-startactivity)
[mobile: startActivity](https://appium.github.io/appium-uiautomator2-driver/latest/reference/execute-methods/#mobile-startactivity)
extension method instead.
- `APPIUM` constant from the AutomationName interface. It is not needed anymore.
- `PRE_LAUNCH` value from the GeneralServerFlag enum. It is not needed anymore.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,84 +111,84 @@
* Provides options specific to the UiAutomator2 Driver.
*
* <p>For more details, refer to the
* <a href="https://github.com/appium/appium-uiautomator2-driver#capabilities">capabilities documentation</a></p>
* <a href="https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/">capabilities documentation</a></p>
*/
public class UiAutomator2Options extends BaseOptions<UiAutomator2Options> implements
// General options: https://github.com/appium/appium-uiautomator2-driver#general
// Device Under Test options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#device-under-test
SupportsDeviceNameOption<UiAutomator2Options>,
SupportsUdidOption<UiAutomator2Options>,
// Driver/Server options: https://github.com/appium/appium-uiautomator2-driver#driverserver
SupportsSkipDeviceInitializationOption<UiAutomator2Options>,
SupportsSkipLogcatCaptureOption<UiAutomator2Options>,
SupportsClearDeviceLogsOnStartOption<UiAutomator2Options>,
SupportsLogcatFormatOption<UiAutomator2Options>,
SupportsLogcatFilterSpecsOption<UiAutomator2Options>,
SupportsIgnoreHiddenApiPolicyErrorOption<UiAutomator2Options>,
SupportsDisableSuppressAccessibilityServiceOption<UiAutomator2Options>,
SupportsDisableWindowAnimationOption<UiAutomator2Options>,
SupportsLanguageOption<UiAutomator2Options>,
SupportsLocaleOption<UiAutomator2Options>,
SupportsLocaleScriptOption<UiAutomator2Options>,
SupportsOrientationOption<UiAutomator2Options>,
SupportsGpsEnabledOption<UiAutomator2Options>,
SupportsMockLocationAppOption<UiAutomator2Options>,
SupportsSkipUnlockOption<UiAutomator2Options>,
SupportsUnlockTypeOption<UiAutomator2Options>,
SupportsUnlockKeyOption<UiAutomator2Options>,
SupportsUnlockStrategyOption<UiAutomator2Options>,
SupportsUnlockSuccessTimeoutOption<UiAutomator2Options>,
// AVD options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#emulator-avd
SupportsAvdOption<UiAutomator2Options>,
SupportsAvdLaunchTimeoutOption<UiAutomator2Options>,
SupportsAvdReadyTimeoutOption<UiAutomator2Options>,
SupportsAvdArgsOption<UiAutomator2Options>,
SupportsAvdEnvOption<UiAutomator2Options>,
SupportsIsHeadlessOption<UiAutomator2Options>,
SupportsAllowDelayAdbOption<UiAutomator2Options>,
SupportsNetworkSpeedOption<UiAutomator2Options>,
// ADB options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#adb
SupportsAdbPortOption<UiAutomator2Options>,
SupportsRemoteAdbHostOption<UiAutomator2Options>,
SupportsAdbExecTimeoutOption<UiAutomator2Options>,
SupportsBuildToolsVersionOption<UiAutomator2Options>,
SupportsSuppressKillServerOption<UiAutomator2Options>,
// UIA2 Server options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#uiautomator2-server
SupportsSystemPortOption<UiAutomator2Options>,
SupportsSkipServerInstallationOption<UiAutomator2Options>,
SupportsUiautomator2ServerLaunchTimeoutOption<UiAutomator2Options>,
SupportsUiautomator2ServerInstallTimeoutOption<UiAutomator2Options>,
SupportsUiautomator2ServerLaunchTimeoutOption<UiAutomator2Options>,
SupportsUiautomator2ServerReadTimeoutOption<UiAutomator2Options>,
SupportsDisableWindowAnimationOption<UiAutomator2Options>,
SupportsSkipDeviceInitializationOption<UiAutomator2Options>,
SupportsOrientationOption<UiAutomator2Options>,
SupportsClearSystemFilesOption<UiAutomator2Options>,
SupportsEnablePerformanceLoggingOption<UiAutomator2Options>,
// App options: https://github.com/appium/appium-uiautomator2-driver#app
SupportsSkipServerInstallationOption<UiAutomator2Options>,
SupportsMjpegServerPortOption<UiAutomator2Options>,
SupportsMjpegScreenshotUrlOption<UiAutomator2Options>,
// App management options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#app-management
SupportsAppOption<UiAutomator2Options>,
SupportsAppPackageOption<UiAutomator2Options>,
SupportsAppActivityOption<UiAutomator2Options>,
SupportsAppWaitActivityOption<UiAutomator2Options>,
SupportsAppWaitPackageOption<UiAutomator2Options>,
SupportsAppWaitDurationOption<UiAutomator2Options>,
SupportsAndroidInstallTimeoutOption<UiAutomator2Options>,
SupportsAppWaitActivityOption<UiAutomator2Options>,
SupportsAppWaitForLaunchOption<UiAutomator2Options>,
SupportsAppWaitDurationOption<UiAutomator2Options>,
SupportsIntentCategoryOption<UiAutomator2Options>,
SupportsIntentActionOption<UiAutomator2Options>,
SupportsIntentFlagsOption<UiAutomator2Options>,
SupportsOptionalIntentArgumentsOption<UiAutomator2Options>,
SupportsAndroidInstallTimeoutOption<UiAutomator2Options>,
SupportsEnforceAppInstallOption<UiAutomator2Options>,
SupportsAutoGrantPermissionsOption<UiAutomator2Options>,
SupportsUserProfileOption<UiAutomator2Options>,
SupportsOtherAppsOption<UiAutomator2Options>,
SupportsUninstallOtherPackagesOption<UiAutomator2Options>,
SupportsAllowTestPackagesOption<UiAutomator2Options>,
SupportsRemoteAppsCacheLimitOption<UiAutomator2Options>,
SupportsEnforceAppInstallOption<UiAutomator2Options>,
// App localization options: https://github.com/appium/appium-uiautomator2-driver#app-localization
SupportsLocaleScriptOption<UiAutomator2Options>,
SupportsLanguageOption<UiAutomator2Options>,
SupportsLocaleOption<UiAutomator2Options>,
// ADB options: https://github.com/appium/appium-uiautomator2-driver#adb
SupportsAdbPortOption<UiAutomator2Options>,
SupportsRemoteAdbHostOption<UiAutomator2Options>,
SupportsAdbExecTimeoutOption<UiAutomator2Options>,
SupportsClearDeviceLogsOnStartOption<UiAutomator2Options>,
SupportsBuildToolsVersionOption<UiAutomator2Options>,
SupportsSkipLogcatCaptureOption<UiAutomator2Options>,
SupportsSuppressKillServerOption<UiAutomator2Options>,
SupportsIgnoreHiddenApiPolicyErrorOption<UiAutomator2Options>,
SupportsMockLocationAppOption<UiAutomator2Options>,
SupportsLogcatFormatOption<UiAutomator2Options>,
SupportsLogcatFilterSpecsOption<UiAutomator2Options>,
SupportsAllowDelayAdbOption<UiAutomator2Options>,
// AVD options: https://github.com/appium/appium-uiautomator2-driver#emulator-android-virtual-device
SupportsAvdOption<UiAutomator2Options>,
SupportsAvdLaunchTimeoutOption<UiAutomator2Options>,
SupportsAvdReadyTimeoutOption<UiAutomator2Options>,
SupportsAvdArgsOption<UiAutomator2Options>,
SupportsAvdEnvOption<UiAutomator2Options>,
SupportsNetworkSpeedOption<UiAutomator2Options>,
SupportsGpsEnabledOption<UiAutomator2Options>,
SupportsIsHeadlessOption<UiAutomator2Options>,
// App signing options: https://github.com/appium/appium-uiautomator2-driver#app-signing
// App signing options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#app-signing
SupportsKeystoreOptions<UiAutomator2Options>,
SupportsNoSignOption<UiAutomator2Options>,
// Device locking options: https://github.com/appium/appium-uiautomator2-driver#device-locking
SupportsSkipUnlockOption<UiAutomator2Options>,
SupportsUnlockTypeOption<UiAutomator2Options>,
SupportsUnlockKeyOption<UiAutomator2Options>,
SupportsUnlockStrategyOption<UiAutomator2Options>,
SupportsUnlockSuccessTimeoutOption<UiAutomator2Options>,
// MJPEG options: https://github.com/appium/appium-uiautomator2-driver#mjpeg
SupportsMjpegServerPortOption<UiAutomator2Options>,
SupportsMjpegScreenshotUrlOption<UiAutomator2Options>,
// Web Context options: https://github.com/appium/appium-uiautomator2-driver#web-context
SupportsNoSignOption<UiAutomator2Options>,
// Web Context options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#web-context
SupportsAutoWebViewOption<UiAutomator2Options>,
SupportsAutoWebviewTimeoutOption<UiAutomator2Options>,
SupportsWebviewDevtoolsPortOption<UiAutomator2Options>,
SupportsEnsureWebviewsHavePagesOption<UiAutomator2Options>,
SupportsChromeOptionsOption<UiAutomator2Options>,
SupportsChromeLoggingPrefsOption<UiAutomator2Options>,
SupportsChromedriverPortOption<UiAutomator2Options>,
SupportsChromedriverPortsOption<UiAutomator2Options>,
SupportsChromedriverArgsOption<UiAutomator2Options>,
Expand All @@ -197,16 +197,13 @@ public class UiAutomator2Options extends BaseOptions<UiAutomator2Options> implem
SupportsChromedriverChromeMappingFileOption<UiAutomator2Options>,
SupportsChromedriverUseSystemExecutableOption<UiAutomator2Options>,
SupportsChromedriverDisableBuildCheckOption<UiAutomator2Options>,
SupportsAutoWebviewTimeoutOption<UiAutomator2Options>,
SupportsRecreateChromeDriverSessionsOption<UiAutomator2Options>,
SupportsNativeWebScreenshotOption<UiAutomator2Options>,
SupportsExtractChromeAndroidPackageFromContextNameOption<UiAutomator2Options>,
SupportsShowChromedriverLogOption<UiAutomator2Options>,
SupportsChromeOptionsOption<UiAutomator2Options>,
SupportsChromeLoggingPrefsOption<UiAutomator2Options>,
// Other options: https://github.com/appium/appium-uiautomator2-driver#other
SupportsDisableSuppressAccessibilityServiceOption<UiAutomator2Options>,
SupportsUserProfileOption<UiAutomator2Options>,
// Other options (not defined by the driver)
SupportsClearSystemFilesOption<UiAutomator2Options>,
SupportsEnablePerformanceLoggingOption<UiAutomator2Options>,
SupportsSkipLogCaptureOption<UiAutomator2Options> {
/**
* Creates options with the default platform and automation names set.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface SupportsActivityOptionsOption<T extends BaseOptions<T>> extends
/**
* The mapping of custom options for the main app activity that is going to
* be started. Check
* https://github.com/appium/appium-espresso-driver#activity-options
* https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#activityoptions
* for more details.
*
* @param options Activity options.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public interface SupportsIntentOptionsOption<T extends BaseOptions<T>> extends
/**
* The mapping of custom options for the intent that is going to be passed
* to the main app activity. Check
* https://github.com/appium/appium-espresso-driver#intent-options
* https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#intentoptions
* for more details.
*
* @param options Intent options.
Expand Down
Loading
Loading