Skip to content

Commit 3842fc8

Browse files
committed
docs: Update parameter names and remove deprecated wd/hub from Uri examples
1 parent 6a9f608 commit 3842fc8

File tree

3 files changed

+13
-13
lines changed

3 files changed

+13
-13
lines changed

src/Appium.Net/Appium/Android/AndroidDriver.cs

+4-4
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ public AndroidDriver(AppiumServiceBuilder builder, DriverOptions driverOptions,
8787
/// <summary>
8888
/// Initializes a new instance of the AndroidDriver class using the specified remote address and Appium options
8989
/// </summary>
90-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
90+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
9191
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
9292
public AndroidDriver(Uri remoteAddress, DriverOptions driverOptions)
9393
: base(remoteAddress, SetPlatformToCapabilities(driverOptions, Platform))
@@ -107,7 +107,7 @@ public AndroidDriver(AppiumLocalService service, DriverOptions driverOptions)
107107
/// <summary>
108108
/// Initializes a new instance of the AndroidDriver class using the specified remote address, Appium options, and command timeout.
109109
/// </summary>
110-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
110+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
111111
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
112112
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
113113
public AndroidDriver(Uri remoteAddress, DriverOptions driverOptions, TimeSpan commandTimeout)
@@ -131,7 +131,7 @@ public AndroidDriver(AppiumLocalService service, DriverOptions driverOptions,
131131
/// <summary>
132132
/// Initializes a new instance of the AndroidDriver class using the specified remote address, Appium options and AppiumClientConfig.
133133
/// </summary>
134-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
134+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
135135
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
136136
/// <param name="clientConfig">An instance of <see cref="AppiumClientConfig"/></param>
137137
public AndroidDriver(Uri remoteAddress, DriverOptions driverOptions, AppiumClientConfig clientConfig)
@@ -153,7 +153,7 @@ public AndroidDriver(AppiumLocalService service, DriverOptions driverOptions, Ap
153153
/// <summary>
154154
/// Initializes a new instance of the AndroidDriver class using the specified remote address, Appium options, command timeout and AppiumClientConfig.
155155
/// </summary>
156-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
156+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
157157
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
158158
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
159159
/// <param name="clientConfig">An instance of <see cref="AppiumClientConfig"/></param>

src/Appium.Net/Appium/Mac/MacDriver.cs

+3-3
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public MacDriver(AppiumServiceBuilder builder, AppiumOptions AppiumOptions, Time
7575
/// <summary>
7676
/// Initializes a new instance of the MacDriver class using the specified remote address and Appium options
7777
/// </summary>
78-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
78+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
7979
/// <param name="AppiumOptions">An <see cref="AppiumOptions"/> object containing the Appium options.</param>
8080
public MacDriver(Uri remoteAddress, AppiumOptions AppiumOptions)
8181
: base(remoteAddress, SetPlatformToCapabilities(AppiumOptions, Platform))
@@ -95,7 +95,7 @@ public MacDriver(AppiumLocalService service, AppiumOptions AppiumOptions)
9595
/// <summary>
9696
/// Initializes a new instance of the MacDriver class using the specified remote address, Appium options, and command timeout.
9797
/// </summary>
98-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
98+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
9999
/// <param name="AppiumOptions">An <see cref="AppiumOptions"/> object containing the Appium options.</param>
100100
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
101101
public MacDriver(Uri remoteAddress, AppiumOptions AppiumOptions, TimeSpan commandTimeout)
@@ -139,7 +139,7 @@ public MacDriver(AppiumLocalService service, DriverOptions driverOptions, Appium
139139
/// <summary>
140140
/// Initializes a new instance of the MacDriver class using the specified remote address, Appium options, command timeout and AppiumClientConfig.
141141
/// </summary>
142-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
142+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
143143
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
144144
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
145145
/// <param name="clientConfig">An instance of <see cref="AppiumClientConfig"/></param>

src/Appium.Net/Appium/iOS/IOSDriver.cs

+6-6
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ public IOSDriver(AppiumServiceBuilder builder, DriverOptions driverOptions, Time
8080
/// <summary>
8181
/// Initializes a new instance of the IOSDriver class using the specified remote address and Appium options
8282
/// </summary>
83-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
84-
/// <param name="DriverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
83+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
84+
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
8585
public IOSDriver(Uri remoteAddress, DriverOptions driverOptions)
8686
: base(remoteAddress, SetPlatformToCapabilities(driverOptions, Platform))
8787
{
@@ -100,8 +100,8 @@ public IOSDriver(AppiumLocalService service, DriverOptions driverOptions)
100100
/// <summary>
101101
/// Initializes a new instance of the IOSDriver class using the specified remote address, Appium options, and command timeout.
102102
/// </summary>
103-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
104-
/// <param name="DriverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
103+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
104+
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
105105
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
106106
public IOSDriver(Uri remoteAddress, DriverOptions driverOptions, TimeSpan commandTimeout)
107107
: base(remoteAddress, SetPlatformToCapabilities(driverOptions, Platform), commandTimeout)
@@ -123,7 +123,7 @@ public IOSDriver(AppiumLocalService service, DriverOptions driverOptions, TimeSp
123123
/// <summary>
124124
/// Initializes a new instance of the IOSDriver class using the specified remote address, Appium options and AppiumClientConfig.
125125
/// </summary>
126-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
126+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
127127
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
128128
/// <param name="clientConfig">An instance of <see cref="AppiumClientConfig"/></param>
129129
public IOSDriver(Uri remoteAddress, DriverOptions driverOptions, AppiumClientConfig clientConfig)
@@ -145,7 +145,7 @@ public IOSDriver(AppiumLocalService service, DriverOptions driverOptions, Appium
145145
/// <summary>
146146
/// Initializes a new instance of the IOSDriver class using the specified remote address, Appium options, command timeout and AppiumClientConfig.
147147
/// </summary>
148-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/wd/hub).</param>
148+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4723/).</param>
149149
/// <param name="driverOptions">An <see cref="DriverOptions"/> object containing the Appium options.</param>
150150
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
151151
/// <param name="clientConfig">An instance of <see cref="AppiumClientConfig"/></param>

0 commit comments

Comments
 (0)