From 3842fc860fd2fe0652b6a0b9f62e94953c10aec2 Mon Sep 17 00:00:00 2001 From: Dor-bl Date: Sun, 24 Mar 2024 01:04:29 +0200 Subject: [PATCH] docs: Update parameter names and remove deprecated wd/hub from Uri examples --- src/Appium.Net/Appium/Android/AndroidDriver.cs | 8 ++++---- src/Appium.Net/Appium/Mac/MacDriver.cs | 6 +++--- src/Appium.Net/Appium/iOS/IOSDriver.cs | 12 ++++++------ 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/Appium.Net/Appium/Android/AndroidDriver.cs b/src/Appium.Net/Appium/Android/AndroidDriver.cs index 49f55253..50737e99 100644 --- a/src/Appium.Net/Appium/Android/AndroidDriver.cs +++ b/src/Appium.Net/Appium/Android/AndroidDriver.cs @@ -87,7 +87,7 @@ public AndroidDriver(AppiumServiceBuilder builder, DriverOptions driverOptions, /// /// Initializes a new instance of the AndroidDriver class using the specified remote address and Appium options /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. public AndroidDriver(Uri remoteAddress, DriverOptions driverOptions) : base(remoteAddress, SetPlatformToCapabilities(driverOptions, Platform)) @@ -107,7 +107,7 @@ public AndroidDriver(AppiumLocalService service, DriverOptions driverOptions) /// /// Initializes a new instance of the AndroidDriver class using the specified remote address, Appium options, and command timeout. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// The maximum amount of time to wait for each command. public AndroidDriver(Uri remoteAddress, DriverOptions driverOptions, TimeSpan commandTimeout) @@ -131,7 +131,7 @@ public AndroidDriver(AppiumLocalService service, DriverOptions driverOptions, /// /// Initializes a new instance of the AndroidDriver class using the specified remote address, Appium options and AppiumClientConfig. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// An instance of public AndroidDriver(Uri remoteAddress, DriverOptions driverOptions, AppiumClientConfig clientConfig) @@ -153,7 +153,7 @@ public AndroidDriver(AppiumLocalService service, DriverOptions driverOptions, Ap /// /// Initializes a new instance of the AndroidDriver class using the specified remote address, Appium options, command timeout and AppiumClientConfig. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// The maximum amount of time to wait for each command. /// An instance of diff --git a/src/Appium.Net/Appium/Mac/MacDriver.cs b/src/Appium.Net/Appium/Mac/MacDriver.cs index 601379a4..a78067f1 100644 --- a/src/Appium.Net/Appium/Mac/MacDriver.cs +++ b/src/Appium.Net/Appium/Mac/MacDriver.cs @@ -75,7 +75,7 @@ public MacDriver(AppiumServiceBuilder builder, AppiumOptions AppiumOptions, Time /// /// Initializes a new instance of the MacDriver class using the specified remote address and Appium options /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. public MacDriver(Uri remoteAddress, AppiumOptions AppiumOptions) : base(remoteAddress, SetPlatformToCapabilities(AppiumOptions, Platform)) @@ -95,7 +95,7 @@ public MacDriver(AppiumLocalService service, AppiumOptions AppiumOptions) /// /// Initializes a new instance of the MacDriver class using the specified remote address, Appium options, and command timeout. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// The maximum amount of time to wait for each command. public MacDriver(Uri remoteAddress, AppiumOptions AppiumOptions, TimeSpan commandTimeout) @@ -139,7 +139,7 @@ public MacDriver(AppiumLocalService service, DriverOptions driverOptions, Appium /// /// Initializes a new instance of the MacDriver class using the specified remote address, Appium options, command timeout and AppiumClientConfig. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// The maximum amount of time to wait for each command. /// An instance of diff --git a/src/Appium.Net/Appium/iOS/IOSDriver.cs b/src/Appium.Net/Appium/iOS/IOSDriver.cs index b06c1a8d..a8cbe552 100644 --- a/src/Appium.Net/Appium/iOS/IOSDriver.cs +++ b/src/Appium.Net/Appium/iOS/IOSDriver.cs @@ -80,8 +80,8 @@ public IOSDriver(AppiumServiceBuilder builder, DriverOptions driverOptions, Time /// /// Initializes a new instance of the IOSDriver class using the specified remote address and Appium options /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). - /// An object containing the Appium options. + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). + /// An object containing the Appium options. public IOSDriver(Uri remoteAddress, DriverOptions driverOptions) : base(remoteAddress, SetPlatformToCapabilities(driverOptions, Platform)) { @@ -100,8 +100,8 @@ public IOSDriver(AppiumLocalService service, DriverOptions driverOptions) /// /// Initializes a new instance of the IOSDriver class using the specified remote address, Appium options, and command timeout. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). - /// An object containing the Appium options. + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). + /// An object containing the Appium options. /// The maximum amount of time to wait for each command. public IOSDriver(Uri remoteAddress, DriverOptions driverOptions, TimeSpan commandTimeout) : base(remoteAddress, SetPlatformToCapabilities(driverOptions, Platform), commandTimeout) @@ -123,7 +123,7 @@ public IOSDriver(AppiumLocalService service, DriverOptions driverOptions, TimeSp /// /// Initializes a new instance of the IOSDriver class using the specified remote address, Appium options and AppiumClientConfig. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// An instance of public IOSDriver(Uri remoteAddress, DriverOptions driverOptions, AppiumClientConfig clientConfig) @@ -145,7 +145,7 @@ public IOSDriver(AppiumLocalService service, DriverOptions driverOptions, Appium /// /// Initializes a new instance of the IOSDriver class using the specified remote address, Appium options, command timeout and AppiumClientConfig. /// - /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub). + /// URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/). /// An object containing the Appium options. /// The maximum amount of time to wait for each command. /// An instance of