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
@@ -53,18 +52,6 @@ public bool IsCollectingPageEvents
53
52
set{this.isCollectingPageEvents=value;}
54
53
}
55
54
56
-
/// <summary>
57
-
/// Gets or sets a value indicating whether Chrome will collect events from the Timeline domain.
58
-
/// Defaults to <see langword="true"/>, but is set to <see langword="false"/> when tracing
59
-
/// is enabled by adding one or more tracing categories.
60
-
/// </summary>
61
-
[Obsolete("Setting 'enableTimeline is no longer supported by chromedriver. This preference will no longer be sent to chromedriver. This property will be removed in a future release.")]
62
-
publicboolIsCollectingTimelineEvents
63
-
{
64
-
get{returnthis.isCollectingTimelineEvents;}
65
-
set{this.isCollectingTimelineEvents=value;}
66
-
}
67
-
68
55
/// <summary>
69
56
/// Gets or sets the interval between Chrome DevTools trace buffer usage events.
70
57
/// Defaults to 1000 milliseconds.
@@ -140,7 +127,6 @@ public void AddTracingCategories(IEnumerable<string> categoriesToAdd)
140
127
}
141
128
142
129
// Adding a tracing category automatically turns timeline events off.
Copy file name to clipboardExpand all lines: dotnet/src/webdriver/Firefox/FirefoxDriver.cs
-49Lines changed: 0 additions & 49 deletions
Original file line number
Diff line number
Diff line change
@@ -106,55 +106,6 @@ public FirefoxDriver()
106
106
{
107
107
}
108
108
109
-
/// <summary>
110
-
/// Initializes a new instance of the <see cref="FirefoxDriver"/> class for a given profile.
111
-
/// </summary>
112
-
/// <param name="profile">A <see cref="FirefoxProfile"/> object representing the profile settings
113
-
/// to be used in starting Firefox.</param>
114
-
[Obsolete("FirefoxDriver should not be constructed with a FirefoxProfile object. Use FirefoxOptions instead. This constructor will be removed in a future release.")]
115
-
publicFirefoxDriver(FirefoxProfileprofile)
116
-
:this(newFirefoxOptions(profile,null,null))
117
-
{
118
-
}
119
-
120
-
/// <summary>
121
-
/// Initializes a new instance of the <see cref="FirefoxDriver"/> class for a given set of capabilities.
122
-
/// </summary>
123
-
/// <param name="capabilities">The <see cref="ICapabilities"/> object containing the desired
124
-
/// capabilities of this FirefoxDriver.</param>
125
-
[Obsolete("FirefoxDriver should not be constructed with a raw ICapabilities or DesiredCapabilities object. Use FirefoxOptions instead. This constructor will be removed in a future release.")]
/// Initializes a new instance of the <see cref="FirefoxDriver"/> class for a given profile and binary environment.
133
-
/// </summary>
134
-
/// <param name="binary">A <see cref="FirefoxBinary"/> object representing the operating system
135
-
/// environmental settings used when running Firefox.</param>
136
-
/// <param name="profile">A <see cref="FirefoxProfile"/> object representing the profile settings
137
-
/// to be used in starting Firefox.</param>
138
-
[Obsolete("FirefoxDriver should not be constructed with a FirefoxBinary object. Use FirefoxOptions instead. This constructor will be removed in a future release.")]
/// Initializes a new instance of the <see cref="FirefoxDriver"/> class for a given profile, binary environment, and timeout value.
146
-
/// </summary>
147
-
/// <param name="binary">A <see cref="FirefoxBinary"/> object representing the operating system
148
-
/// environmental settings used when running Firefox.</param>
149
-
/// <param name="profile">A <see cref="FirefoxProfile"/> object representing the profile settings
150
-
/// to be used in starting Firefox.</param>
151
-
/// <param name="commandTimeout">The maximum amount of time to wait for each command.</param>
152
-
[Obsolete("FirefoxDriver should not be constructed with a FirefoxBinary object. Use FirefoxOptions instead. This constructor will be removed in a future release.")]
/// Initializes a new instance of the <see cref="FirefoxDriver"/> class using the specified options. Uses the Mozilla-provided Marionette driver implementation.
// Licensed to the Software Freedom Conservancy (SFC) under one
3
3
// or more contributor license agreements. See the NOTICE file
4
4
// distributed with this work for additional information
@@ -99,17 +99,6 @@ public void LockObject(TimeSpan timeout)
99
99
thrownewWebDriverException(string.Format(CultureInfo.InvariantCulture,"Unable to bind to locking port {0} within {1} milliseconds",this.lockPort,timeout.TotalMilliseconds));
100
100
}
101
101
102
-
/// <summary>
103
-
/// Locks the mutex port.
104
-
/// </summary>
105
-
/// <param name="timeoutInMilliseconds">The amount of time (in milliseconds) to wait for
106
-
/// the mutex port to become available.</param>
107
-
[Obsolete("Timeouts should be expressed as a TimeSpan. Use the LockObject overload taking a TimeSpan parameter instead")]
Copy file name to clipboardExpand all lines: dotnet/src/webdriver/IE/InternetExplorerOptions.cs
-61Lines changed: 0 additions & 61 deletions
Original file line number
Diff line number
Diff line change
@@ -220,17 +220,6 @@ public InternetExplorerElementScrollBehavior ElementScrollBehavior
220
220
set{this.elementScrollBehavior=value;}
221
221
}
222
222
223
-
/// <summary>
224
-
/// Gets or sets the value for describing how unexpected alerts are to be handled in the IE driver.
225
-
/// Defaults to <see cref="InternetExplorerUnexpectedAlertBehavior.Default"/>.
226
-
/// </summary>
227
-
[Obsolete("This property is being replaced by the UnhandledPromptBehavior property, and will be removed in a future version of the .NET bindings. Please use that instead.")]
/// Method to return a new DesiredCapabilities using defaults
190
-
/// </summary>
191
-
/// <returns>New instance of DesiredCapabilities for use with Firefox</returns>
192
-
[Obsolete("Use the FirefoxOptions class to set capabilities for use with Firefox. For use with the Java remote server or grid, use the ToCapabilites method of the FirefoxOptions class.")]
/// Method to return a new DesiredCapabilities using defaults
212
-
/// </summary>
213
-
/// <returns>New instance of DesiredCapabilities for use with Internet Explorer</returns>
214
-
[Obsolete("Use the InternetExplorerOptions class to set capabilities for use with Internet Explorer. For use with the Java remote server or grid, use the ToCapabilites method of the InternetExplorerOptions class.")]
/// Method to return a new DesiredCapabilities using defaults
222
-
/// </summary>
223
-
/// <returns>New instance of DesiredCapabilities for use with Microsoft Edge</returns>
224
-
[Obsolete("Use the EdgeOptions class to set capabilities for use with Edge. For use with the Java remote server or grid, use the ToCapabilites method of the EdgeOptions class.")]
/// Method to return a new DesiredCapabilities using defaults
274
-
/// </summary>
275
-
/// <returns>New instance of DesiredCapabilities for use with Chrome</returns>
276
-
[Obsolete("Use the ChromeOptions class to set capabilities for use with Chrome. For use with the Java remote server or grid, use the ToCapabilites method of the ChromeOptions class.")]
/// Method to return a new DesiredCapabilities using defaults
296
-
/// </summary>
297
-
/// <returns>New instance of DesiredCapabilities for use with Opera</returns>
298
-
[Obsolete("Use the OperaOptions class to set capabilities for use with Opera. For use with the Java remote server or grid, use the ToCapabilites method of the OperaOptions class.")]
/// Method to return a new DesiredCapabilities using defaults
307
-
/// </summary>
308
-
/// <returns>New instance of DesiredCapabilities for use with Safari</returns>
309
-
[Obsolete("Use the SafariOptions class to set capabilities for use with Safari. For use with the Java remote server or grid, use the ToCapabilites method of the SafariOptions class.")]
0 commit comments