Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/Playwright/API/Supplements/IAPIRequestContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

using System;

#nullable enable

namespace Microsoft.Playwright;

public partial interface IAPIRequestContext : IAsyncDisposable
Expand Down
2 changes: 2 additions & 0 deletions src/Playwright/API/Supplements/IBrowser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

using System;

#nullable enable

namespace Microsoft.Playwright;

public partial interface IBrowser : IAsyncDisposable
Expand Down
2 changes: 2 additions & 0 deletions src/Playwright/API/Supplements/ICDPSession.cs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@

using System;

#nullable enable

namespace Microsoft.Playwright
{
public partial interface ICDPSession : IAsyncDisposable
Expand Down
4 changes: 3 additions & 1 deletion src/Playwright/API/Supplements/IJSHandle.cs
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@
using System.Text.Json;
using System.Threading.Tasks;

#nullable enable

namespace Microsoft.Playwright;

public partial interface IJSHandle : IAsyncDisposable
{
/// <inheritdoc cref="EvaluateAsync{T}(string, object)" />
Task<JsonElement?> EvaluateAsync(string expression, object arg = null);
Task<JsonElement?> EvaluateAsync(string expression, object? arg = null);
}
4 changes: 3 additions & 1 deletion src/Playwright/API/Supplements/ILocator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@
using System.Text.Json;
using System.Threading.Tasks;

#nullable enable

namespace Microsoft.Playwright;

public partial interface ILocator
{
Task<JsonElement?> EvaluateAsync(string expression, object arg = null, LocatorEvaluateOptions options = null);
Task<JsonElement?> EvaluateAsync(string expression, object? arg = null, LocatorEvaluateOptions? options = null);
}