Skip to content

Commit

Permalink
Fix obsoletion messages
Browse files Browse the repository at this point in the history
  • Loading branch information
RenderMichael committed Feb 7, 2025
1 parent d4b91ff commit 9fe018d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions dotnet/src/webdriver/DriverService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ public int ProcessId
/// <summary>
/// Gets a value indicating whether the service is responding to HTTP requests.
/// </summary>
[Obsolete("Use the asynchronous overload IsInitializedAsync. The synchronous version will be removed in Selenium 4.31")]
[Obsolete("Use the asynchronous method IsInitializedAsync")]
protected virtual bool IsInitialized
{
get
Expand Down Expand Up @@ -225,7 +225,7 @@ public void Dispose()
/// <summary>
/// Starts the DriverService if it is not already running.
/// </summary>
[Obsolete("Use the asynchronous overload IsInitializedAsync. The synchronous version will be removed in Selenium 4.31")]
[Obsolete("Use the asynchronous method StartAsync")]
public void Start()
{
Task.Run(async () => await StartAsync()).GetAwaiter().GetResult();
Expand Down
2 changes: 1 addition & 1 deletion dotnet/src/webdriver/Remote/ICommandServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public interface ICommandServer : IDisposable, IAsyncDisposable
/// <summary>
/// Starts the server.
/// </summary>
[Obsolete("Use the asynchronous overload IsInitializedAsync. The synchronous version will be removed in Selenium 4.31")]
[Obsolete("Use the asynchronous method StartAsync")]
void Start();

/// <summary>
Expand Down

0 comments on commit 9fe018d

Please sign in to comment.