diff --git a/README.md b/README.md index 675bc01e1..f1566abce 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/docs/v7-to-v8-migration-guide.md b/docs/v7-to-v8-migration-guide.md index dcd578fc4..00f99a4a9 100644 --- a/docs/v7-to-v8-migration-guide.md +++ b/docs/v7-to-v8-migration-guide.md @@ -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. diff --git a/docs/v8-to-v9-migration-guide.md b/docs/v8-to-v9-migration-guide.md index a0b57cd35..7940ad8e4 100644 --- a/docs/v8-to-v9-migration-guide.md +++ b/docs/v8-to-v9-migration-guide.md @@ -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. diff --git a/src/main/java/io/appium/java_client/android/options/UiAutomator2Options.java b/src/main/java/io/appium/java_client/android/options/UiAutomator2Options.java index 830d3717c..352760270 100644 --- a/src/main/java/io/appium/java_client/android/options/UiAutomator2Options.java +++ b/src/main/java/io/appium/java_client/android/options/UiAutomator2Options.java @@ -111,84 +111,84 @@ * Provides options specific to the UiAutomator2 Driver. * *

For more details, refer to the - * capabilities documentation

+ * capabilities documentation

*/ public class UiAutomator2Options extends BaseOptions 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, SupportsUdidOption, - // Driver/Server options: https://github.com/appium/appium-uiautomator2-driver#driverserver + SupportsSkipDeviceInitializationOption, + SupportsSkipLogcatCaptureOption, + SupportsClearDeviceLogsOnStartOption, + SupportsLogcatFormatOption, + SupportsLogcatFilterSpecsOption, + SupportsIgnoreHiddenApiPolicyErrorOption, + SupportsDisableSuppressAccessibilityServiceOption, + SupportsDisableWindowAnimationOption, + SupportsLanguageOption, + SupportsLocaleOption, + SupportsLocaleScriptOption, + SupportsOrientationOption, + SupportsGpsEnabledOption, + SupportsMockLocationAppOption, + SupportsSkipUnlockOption, + SupportsUnlockTypeOption, + SupportsUnlockKeyOption, + SupportsUnlockStrategyOption, + SupportsUnlockSuccessTimeoutOption, + // AVD options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#emulator-avd + SupportsAvdOption, + SupportsAvdLaunchTimeoutOption, + SupportsAvdReadyTimeoutOption, + SupportsAvdArgsOption, + SupportsAvdEnvOption, + SupportsIsHeadlessOption, + SupportsAllowDelayAdbOption, + SupportsNetworkSpeedOption, + // ADB options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#adb + SupportsAdbPortOption, + SupportsRemoteAdbHostOption, + SupportsAdbExecTimeoutOption, + SupportsBuildToolsVersionOption, + SupportsSuppressKillServerOption, + // UIA2 Server options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#uiautomator2-server SupportsSystemPortOption, - SupportsSkipServerInstallationOption, - SupportsUiautomator2ServerLaunchTimeoutOption, SupportsUiautomator2ServerInstallTimeoutOption, + SupportsUiautomator2ServerLaunchTimeoutOption, SupportsUiautomator2ServerReadTimeoutOption, - SupportsDisableWindowAnimationOption, - SupportsSkipDeviceInitializationOption, - SupportsOrientationOption, - SupportsClearSystemFilesOption, - SupportsEnablePerformanceLoggingOption, - // App options: https://github.com/appium/appium-uiautomator2-driver#app + SupportsSkipServerInstallationOption, + SupportsMjpegServerPortOption, + SupportsMjpegScreenshotUrlOption, + // App management options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#app-management SupportsAppOption, SupportsAppPackageOption, SupportsAppActivityOption, - SupportsAppWaitActivityOption, SupportsAppWaitPackageOption, - SupportsAppWaitDurationOption, - SupportsAndroidInstallTimeoutOption, + SupportsAppWaitActivityOption, SupportsAppWaitForLaunchOption, + SupportsAppWaitDurationOption, SupportsIntentCategoryOption, SupportsIntentActionOption, SupportsIntentFlagsOption, SupportsOptionalIntentArgumentsOption, + SupportsAndroidInstallTimeoutOption, + SupportsEnforceAppInstallOption, SupportsAutoGrantPermissionsOption, + SupportsUserProfileOption, SupportsOtherAppsOption, SupportsUninstallOtherPackagesOption, SupportsAllowTestPackagesOption, SupportsRemoteAppsCacheLimitOption, - SupportsEnforceAppInstallOption, - // App localization options: https://github.com/appium/appium-uiautomator2-driver#app-localization - SupportsLocaleScriptOption, - SupportsLanguageOption, - SupportsLocaleOption, - // ADB options: https://github.com/appium/appium-uiautomator2-driver#adb - SupportsAdbPortOption, - SupportsRemoteAdbHostOption, - SupportsAdbExecTimeoutOption, - SupportsClearDeviceLogsOnStartOption, - SupportsBuildToolsVersionOption, - SupportsSkipLogcatCaptureOption, - SupportsSuppressKillServerOption, - SupportsIgnoreHiddenApiPolicyErrorOption, - SupportsMockLocationAppOption, - SupportsLogcatFormatOption, - SupportsLogcatFilterSpecsOption, - SupportsAllowDelayAdbOption, - // AVD options: https://github.com/appium/appium-uiautomator2-driver#emulator-android-virtual-device - SupportsAvdOption, - SupportsAvdLaunchTimeoutOption, - SupportsAvdReadyTimeoutOption, - SupportsAvdArgsOption, - SupportsAvdEnvOption, - SupportsNetworkSpeedOption, - SupportsGpsEnabledOption, - SupportsIsHeadlessOption, - // 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, - SupportsNoSignOption, - // Device locking options: https://github.com/appium/appium-uiautomator2-driver#device-locking - SupportsSkipUnlockOption, - SupportsUnlockTypeOption, - SupportsUnlockKeyOption, - SupportsUnlockStrategyOption, - SupportsUnlockSuccessTimeoutOption, - // MJPEG options: https://github.com/appium/appium-uiautomator2-driver#mjpeg - SupportsMjpegServerPortOption, - SupportsMjpegScreenshotUrlOption, - // Web Context options: https://github.com/appium/appium-uiautomator2-driver#web-context + SupportsNoSignOption, + // Web Context options: https://appium.github.io/appium-uiautomator2-driver/latest/reference/capabilities/#web-context SupportsAutoWebViewOption, + SupportsAutoWebviewTimeoutOption, SupportsWebviewDevtoolsPortOption, SupportsEnsureWebviewsHavePagesOption, + SupportsChromeOptionsOption, + SupportsChromeLoggingPrefsOption, SupportsChromedriverPortOption, SupportsChromedriverPortsOption, SupportsChromedriverArgsOption, @@ -197,16 +197,13 @@ public class UiAutomator2Options extends BaseOptions implem SupportsChromedriverChromeMappingFileOption, SupportsChromedriverUseSystemExecutableOption, SupportsChromedriverDisableBuildCheckOption, - SupportsAutoWebviewTimeoutOption, SupportsRecreateChromeDriverSessionsOption, SupportsNativeWebScreenshotOption, SupportsExtractChromeAndroidPackageFromContextNameOption, SupportsShowChromedriverLogOption, - SupportsChromeOptionsOption, - SupportsChromeLoggingPrefsOption, - // Other options: https://github.com/appium/appium-uiautomator2-driver#other - SupportsDisableSuppressAccessibilityServiceOption, - SupportsUserProfileOption, + // Other options (not defined by the driver) + SupportsClearSystemFilesOption, + SupportsEnablePerformanceLoggingOption, SupportsSkipLogCaptureOption { /** * Creates options with the default platform and automation names set. diff --git a/src/main/java/io/appium/java_client/android/options/app/SupportsActivityOptionsOption.java b/src/main/java/io/appium/java_client/android/options/app/SupportsActivityOptionsOption.java index 125796525..0148e55fb 100644 --- a/src/main/java/io/appium/java_client/android/options/app/SupportsActivityOptionsOption.java +++ b/src/main/java/io/appium/java_client/android/options/app/SupportsActivityOptionsOption.java @@ -38,7 +38,7 @@ public interface SupportsActivityOptionsOption> 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. diff --git a/src/main/java/io/appium/java_client/android/options/app/SupportsIntentOptionsOption.java b/src/main/java/io/appium/java_client/android/options/app/SupportsIntentOptionsOption.java index ca4eb08f4..698640e2e 100644 --- a/src/main/java/io/appium/java_client/android/options/app/SupportsIntentOptionsOption.java +++ b/src/main/java/io/appium/java_client/android/options/app/SupportsIntentOptionsOption.java @@ -38,7 +38,7 @@ public interface SupportsIntentOptionsOption> 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. diff --git a/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockKeyOption.java b/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockKeyOption.java index cc66f4174..4f385fcd3 100644 --- a/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockKeyOption.java +++ b/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockKeyOption.java @@ -36,7 +36,7 @@ public interface SupportsUnlockKeyOption> extends /** * Allows to set an unlock key. - * Read [Unlock tutorial](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/unlock/main.md) + * Read [Unlock tutorial](https://appium.github.io/appium-uiautomator2-driver/latest/guides/unlock/) * for more details. * * @param unlockKey The unlock key. diff --git a/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockTypeOption.java b/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockTypeOption.java index a554f3202..1a3bbaa8a 100644 --- a/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockTypeOption.java +++ b/src/main/java/io/appium/java_client/android/options/locking/SupportsUnlockTypeOption.java @@ -36,7 +36,7 @@ public interface SupportsUnlockTypeOption> extends /** * Set one of the possible types of Android lock screens to unlock. - * Read the [Unlock tutorial](https://github.com/appium/appium-uiautomator2-driver/blob/master/docs/unlock/main.md) + * Read the [Unlock tutorial](https://appium.github.io/appium-uiautomator2-driver/latest/guides/unlock/) * for more details. * * @param unlockType One of possible unlock types. diff --git a/src/main/java/io/appium/java_client/android/options/server/SupportsEspressoBuildConfigOption.java b/src/main/java/io/appium/java_client/android/options/server/SupportsEspressoBuildConfigOption.java index b5e76ee8c..8858f2aba 100644 --- a/src/main/java/io/appium/java_client/android/options/server/SupportsEspressoBuildConfigOption.java +++ b/src/main/java/io/appium/java_client/android/options/server/SupportsEspressoBuildConfigOption.java @@ -38,7 +38,7 @@ public interface SupportsEspressoBuildConfigOption> ext /** * This config allows to customize several important properties of * Espresso server. Refer to - * https://github.com/appium/appium-espresso-driver#espresso-build-config + * https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#espressobuildconfig * for more information on how to properly construct such config. * * @param configPath The path to the config file on the server file system. @@ -51,7 +51,7 @@ default T setEspressoBuildConfig(String configPath) { /** * This config allows to customize several important properties of * Espresso server. Refer to - * https://github.com/appium/appium-espresso-driver#espresso-build-config + * https://appium.github.io/appium-espresso-driver/latest/reference/capabilities/#espressobuildconfig * for more information on how to properly construct such config. * * @param config Config instance. diff --git a/src/main/java/io/appium/java_client/chromium/ChromiumDriver.java b/src/main/java/io/appium/java_client/chromium/ChromiumDriver.java index 3ab0dd7a7..06c0333b9 100644 --- a/src/main/java/io/appium/java_client/chromium/ChromiumDriver.java +++ b/src/main/java/io/appium/java_client/chromium/ChromiumDriver.java @@ -33,7 +33,7 @@ * on top of chromium driver server. *
* - *

Read appium-chromium-driver + *

Read appium-chromium-driver * for more details on how to configure and use it.

*/ public class ChromiumDriver extends AppiumDriver { diff --git a/src/main/java/io/appium/java_client/gecko/GeckoDriver.java b/src/main/java/io/appium/java_client/gecko/GeckoDriver.java index 6cb97b7a4..1c72aceed 100644 --- a/src/main/java/io/appium/java_client/gecko/GeckoDriver.java +++ b/src/main/java/io/appium/java_client/gecko/GeckoDriver.java @@ -32,7 +32,7 @@ * created to automate Mobile browsers and web views based on * the Gecko engine. The driver uses W3C * WebDriver protocol and is built on top of Mozilla's geckodriver - * server. Read https://github.com/appium/appium-geckodriver + * server. Read https://appium.github.io/appium-geckodriver * for more details on how to configure and use it. * * @since Appium 1.20.0 diff --git a/src/main/java/io/appium/java_client/ios/options/XCUITestOptions.java b/src/main/java/io/appium/java_client/ios/options/XCUITestOptions.java index 7f6345bd9..7d1a19468 100644 --- a/src/main/java/io/appium/java_client/ios/options/XCUITestOptions.java +++ b/src/main/java/io/appium/java_client/ios/options/XCUITestOptions.java @@ -128,7 +128,7 @@ */ @SuppressWarnings("deprecation") public class XCUITestOptions extends BaseOptions implements - // General options: https://github.com/appium/appium-xcuitest-driver#general + // General options: https://appium.github.io/appium-xcuitest-driver/latest/reference/capabilities/#general SupportsDeviceNameOption, SupportsUdidOption, SupportsIncludeDeviceCapsToSessionInfoOption, @@ -137,14 +137,14 @@ public class XCUITestOptions extends BaseOptions implements SupportsLocalizableStringsDirOption, SupportsLanguageOption, SupportsLocaleOption, - // App Options: https://github.com/appium/appium-xcuitest-driver#app + // App Options: https://appium.github.io/appium-xcuitest-driver/latest/reference/capabilities/#app SupportsAppOption, SupportsBundleIdOption, SupportsOtherAppsOption, SupportsAppPushTimeoutOption, SupportsAppInstallStrategyOption, SupportsEnforceAppInstallOption, - // WebDriverAgent options: https://github.com/appium/appium-xcuitest-driver#webdriveragent + // WebDriverAgent options: https://appium.github.io/appium-xcuitest-driver/latest/reference/capabilities/#webdriveragent SupportsXcodeCertificateOptions, SupportsKeychainOptions, SupportsUpdatedWdaBundleIdOption, @@ -180,7 +180,7 @@ public class XCUITestOptions extends BaseOptions implements SupportsShouldTerminateAppOption, SupportsForceAppLaunchOption, SupportsUseNativeCachingStrategyOption, - // Simulator options: https://github.com/appium/appium-xcuitest-driver#simulator + // Simulator options: https://appium.github.io/appium-xcuitest-driver/latest/reference/capabilities/#simulator SupportsOrientationOption, SupportsScaleFactorOption, SupportsConnectHardwareKeyboardOption, @@ -201,7 +201,7 @@ public class XCUITestOptions extends BaseOptions implements SupportsSimulatorPasteboardAutomaticSyncOption, SupportsSimulatorDevicesSetPathOption, SupportsCustomSslCertOption, - // Web context options: https://github.com/appium/appium-xcuitest-driver#web-context + // Web context options: https://appium.github.io/appium-xcuitest-driver/latest/reference/capabilities/#web-context SupportsAutoWebViewOption, SupportsAbsoluteWebLocationsOption, SupportsSafariGarbageCollectOption, @@ -224,7 +224,7 @@ public class XCUITestOptions extends BaseOptions implements SupportsEnableAsyncExecuteFromHttpsOption, SupportsFullContextListOption, SupportsEnablePerformanceLoggingOption, - // Other options: https://github.com/appium/appium-xcuitest-driver#other + // Other options: https://appium.github.io/appium-xcuitest-driver/latest/reference/capabilities/#other SupportsResetOnSessionStartOnlyOption, SupportsCommandTimeoutsOption, SupportsUseJsonSourceOption, diff --git a/src/main/java/io/appium/java_client/mac/Mac2Driver.java b/src/main/java/io/appium/java_client/mac/Mac2Driver.java index a8b592391..6a5eab8e8 100644 --- a/src/main/java/io/appium/java_client/mac/Mac2Driver.java +++ b/src/main/java/io/appium/java_client/mac/Mac2Driver.java @@ -33,7 +33,7 @@ * Mac2Driver is an officially supported Appium driver * created to automate Mac OS apps. The driver uses W3C * WebDriver protocol and is built on top of Apple's XCTest - * automation framework. Read https://github.com/appium/appium-mac2-driver + * automation framework. Read https://appium.github.io/appium-mac2-driver * for more details on how to configure and use it. * * @since Appium 1.20.0 diff --git a/src/main/java/io/appium/java_client/remote/AutomationName.java b/src/main/java/io/appium/java_client/remote/AutomationName.java index 35a0ddbcf..821876263 100644 --- a/src/main/java/io/appium/java_client/remote/AutomationName.java +++ b/src/main/java/io/appium/java_client/remote/AutomationName.java @@ -21,13 +21,13 @@ */ public interface AutomationName { // Officially supported drivers - /** The automation name of the XCUITest driver for iOS and tvOS. */ + /** The automation name of the XCUITest driver for iOS and tvOS. */ String IOS_XCUI_TEST = "XCuiTest"; - /** The automation name of the UiAutomator2 driver for Android. */ + /** The automation name of the UiAutomator2 driver for Android. */ String ANDROID_UIAUTOMATOR2 = "UIAutomator2"; - /** The automation name of the Espresso driver for Android. */ + /** The automation name of the Espresso driver for Android. */ String ESPRESSO = "Espresso"; - /** The automation name of the Mac2 driver for macOS. */ + /** The automation name of the Mac2 driver for macOS. */ String MAC2 = "Mac2"; /** * The automation name of the Windows driver. @@ -37,13 +37,13 @@ public interface AutomationName { */ @Deprecated String WINDOWS = "Windows"; - /** The automation name of the Wincore driver, the successor of the Windows driver. */ + /** The automation name of the Wincore driver, the successor of the Windows driver. */ String WINCORE = "Wincore"; - /** The automation name of the Safari driver. */ + /** The automation name of the Safari driver. */ String SAFARI = "Safari"; - /** The automation name of the Gecko driver for Firefox. */ + /** The automation name of the Gecko driver for Firefox. */ String GECKO = "Gecko"; - /** The automation name of the Chromium driver. */ + /** The automation name of the Chromium driver. */ String CHROMIUM = "Chromium"; // Third-party drivers diff --git a/src/main/java/io/appium/java_client/safari/SafariDriver.java b/src/main/java/io/appium/java_client/safari/SafariDriver.java index 0f85c9d25..a9c454005 100644 --- a/src/main/java/io/appium/java_client/safari/SafariDriver.java +++ b/src/main/java/io/appium/java_client/safari/SafariDriver.java @@ -29,10 +29,10 @@ import java.net.URL; /** - * GeckoDriver is an officially supported Appium driver + * SafariDriver is an officially supported Appium driver * created to automate mobile Safari browser. The driver uses W3C * WebDriver protocol and is built on top of Apple's safaridriver - * server. Read https://github.com/appium/appium-safari-driver + * server. Read https://appium.github.io/appium-safari-driver * for more details on how to configure and use it. * * @since Appium 1.20.0 diff --git a/src/main/java/io/appium/java_client/safari/options/SafariOptions.java b/src/main/java/io/appium/java_client/safari/options/SafariOptions.java index 366eed70c..f26f3c93c 100644 --- a/src/main/java/io/appium/java_client/safari/options/SafariOptions.java +++ b/src/main/java/io/appium/java_client/safari/options/SafariOptions.java @@ -34,7 +34,7 @@ * Provides options specific to the Safari Driver. * *

For more details, refer to the - * capabilities documentation

+ * capabilities documentation

*/ public class SafariOptions extends BaseOptions implements SupportsBrowserNameOption,