Skip to content

chore: roll driver to 1.53.0-alpha-2025-05-21#3184

Merged
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:roll-1.53.0-alpha-2025-05-21
Jun 2, 2025
Merged

chore: roll driver to 1.53.0-alpha-2025-05-21#3184
dgozman merged 1 commit intomicrosoft:mainfrom
dgozman:roll-1.53.0-alpha-2025-05-21

Conversation

@dgozman
Copy link
Copy Markdown
Collaborator

@dgozman dgozman commented Jun 2, 2025

public async Task<string> InputValueAsync(ElementHandleInputValueOptions? options = null)
=> (await SendMessageToServerAsync("inputValue", new Dictionary<string, object?>()
{
{ "timeout", options?.Timeout },
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no timeout in the protocol for this method.

{
["selector"] = selector,
#pragma warning disable CS0612 // Type or member is obsolete
["timeout"] = options?.Timeout,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no timeout in the protocol for this method.

{
["selector"] = selector,
#pragma warning disable CS0612 // Type or member is obsolete
["timeout"] = options?.Timeout,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no timeout in the protocol for this method.

ValidateCookies(await Context.CookiesAsync(null as string));
ValidateCookies(await Context.CookiesAsync(null as string[]));
ValidateCookies(await Context.CookiesAsync([]));
// ValidateCookies(await Context.CookiesAsync([]));
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line does not compile for some reason. Needs investigation.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to find out why it regressed before we land.

["httpCredentials"] = options?.HttpCredentials,
["maxRedirects"] = options?.MaxRedirects,
["proxy"] = options?.Proxy,
["timeout"] = options?.Timeout,
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This property was removed from the protocol.

return playwright.PreLaunchedBrowser;
}
var task = CreateBrowserAsync();
var timeout = options?.Timeout != null ? (int)options.Timeout : 30_000;
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upstream defaults to zero timeout instead of 30_000, aligned above.

@dgozman dgozman requested a review from mxschmitt June 2, 2025 11:00
/// Playwright script runs.
/// </para>
/// <para>
/// You probably want to <a href="https://playwright.dev/docs/api/class-testoptions#test-options-trace">enable
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This comment looks off.

ValidateCookies(await Context.CookiesAsync(null as string));
ValidateCookies(await Context.CookiesAsync(null as string[]));
ValidateCookies(await Context.CookiesAsync([]));
// ValidateCookies(await Context.CookiesAsync([]));
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would be nice to find out why it regressed before we land.

@dgozman dgozman force-pushed the roll-1.53.0-alpha-2025-05-21 branch from 8f24f68 to 5a5089d Compare June 2, 2025 12:33
{
public string Type { get; set; }
public string Title { get; set; }
public string ApiName { get; set; }
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public string ApiName { get; set; }

@dgozman dgozman merged commit 9d93d9c into microsoft:main Jun 2, 2025
15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants