Skip to content

Commit 9fe018d

Browse files
committed
Fix obsoletion messages
1 parent d4b91ff commit 9fe018d

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

dotnet/src/webdriver/DriverService.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ public int ProcessId
172172
/// <summary>
173173
/// Gets a value indicating whether the service is responding to HTTP requests.
174174
/// </summary>
175-
[Obsolete("Use the asynchronous overload IsInitializedAsync. The synchronous version will be removed in Selenium 4.31")]
175+
[Obsolete("Use the asynchronous method IsInitializedAsync")]
176176
protected virtual bool IsInitialized
177177
{
178178
get
@@ -225,7 +225,7 @@ public void Dispose()
225225
/// <summary>
226226
/// Starts the DriverService if it is not already running.
227227
/// </summary>
228-
[Obsolete("Use the asynchronous overload IsInitializedAsync. The synchronous version will be removed in Selenium 4.31")]
228+
[Obsolete("Use the asynchronous method StartAsync")]
229229
public void Start()
230230
{
231231
Task.Run(async () => await StartAsync()).GetAwaiter().GetResult();

dotnet/src/webdriver/Remote/ICommandServer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public interface ICommandServer : IDisposable, IAsyncDisposable
3232
/// <summary>
3333
/// Starts the server.
3434
/// </summary>
35-
[Obsolete("Use the asynchronous overload IsInitializedAsync. The synchronous version will be removed in Selenium 4.31")]
35+
[Obsolete("Use the asynchronous method StartAsync")]
3636
void Start();
3737

3838
/// <summary>

0 commit comments

Comments
 (0)