You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactoring .NET driver Options classes to descend from common class
This commit introduces a common base class for driver-specific type-safe
Options classes (e.g., ChromeOptions, InternetExplorerOptions, etc.). This
will help pave the way to eliminate needing to know the name or expected
type of arbitrary capabilities in a future release.
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class. This constructor defaults proxy to http://127.0.0.1:4444/wd/hub
81
+
/// </summary>
82
+
/// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities of the browser.</param>
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class
90
+
/// </summary>
91
+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub).</param>
92
+
/// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities of the browser.</param>
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class using the specified remote address, desired capabilities, and command timeout.
100
+
/// </summary>
101
+
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub).</param>
102
+
/// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities of the browser.</param>
103
+
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class
81
111
/// </summary>
@@ -117,36 +147,6 @@ public RemoteWebDriver(ICommandExecutor commandExecutor, ICapabilities desiredCa
117
147
}
118
148
}
119
149
120
-
/// <summary>
121
-
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class. This constructor defaults proxy to http://127.0.0.1:4444/wd/hub
122
-
/// </summary>
123
-
/// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities of the browser.</param>
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class
131
-
/// </summary>
132
-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub).</param>
133
-
/// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities of the browser.</param>
/// Initializes a new instance of the <see cref="RemoteWebDriver"/> class using the specified remote address, desired capabilities, and command timeout.
141
-
/// </summary>
142
-
/// <param name="remoteAddress">URI containing the address of the WebDriver remote server (e.g. http://127.0.0.1:4444/wd/hub).</param>
143
-
/// <param name="desiredCapabilities">An <see cref="ICapabilities"/> object containing the desired capabilities of the browser.</param>
144
-
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
0 commit comments