-
Notifications
You must be signed in to change notification settings - Fork 269
chore: roll driver to 1.53.0-alpha-2025-05-21 #3184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -402,18 +405,15 @@ public Task TapAsync(ElementHandleTapOptions? options = default) | |||
public async Task<bool> IsVisibleAsync() => (await SendMessageToServerAsync("isVisible").ConfigureAwait(false))?.GetProperty("value").GetBoolean() ?? default; | |||
|
|||
public async Task<string> InputValueAsync(ElementHandleInputValueOptions? options = null) | |||
=> (await SendMessageToServerAsync("inputValue", new Dictionary<string, object?>() | |||
{ | |||
{ "timeout", options?.Timeout }, |
There was a problem hiding this comment.
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.
@@ -842,9 +854,6 @@ public async Task<bool> IsHiddenAsync(string selector, FrameIsHiddenOptions? opt | |||
=> (await SendMessageToServerAsync("isHidden", new Dictionary<string, object?> | |||
{ | |||
["selector"] = selector, | |||
#pragma warning disable CS0612 // Type or member is obsolete | |||
["timeout"] = options?.Timeout, |
There was a problem hiding this comment.
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.
@@ -853,9 +862,6 @@ public async Task<bool> IsVisibleAsync(string selector, FrameIsVisibleOptions? o | |||
=> (await SendMessageToServerAsync("isVisible", new Dictionary<string, object?> | |||
{ | |||
["selector"] = selector, | |||
#pragma warning disable CS0612 // Type or member is obsolete | |||
["timeout"] = options?.Timeout, |
There was a problem hiding this comment.
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.
@@ -230,6 +230,6 @@ void ValidateCookies(IReadOnlyList<BrowserContextCookiesResult> cookies) | |||
ValidateCookies(await Context.CookiesAsync("https://foo.com")); | |||
ValidateCookies(await Context.CookiesAsync(null as string)); | |||
ValidateCookies(await Context.CookiesAsync(null as string[])); | |||
ValidateCookies(await Context.CookiesAsync([])); | |||
// ValidateCookies(await Context.CookiesAsync([])); |
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
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.
@@ -49,7 +49,6 @@ async Task<IAPIRequestContext> IAPIRequest.NewContextAsync(APIRequestNewContextO | |||
["httpCredentials"] = options?.HttpCredentials, | |||
["maxRedirects"] = options?.MaxRedirects, | |||
["proxy"] = options?.Proxy, | |||
["timeout"] = options?.Timeout, |
There was a problem hiding this comment.
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.
@@ -254,7 +255,6 @@ async Task<IBrowser> CreateBrowserAsync() | |||
return playwright.PreLaunchedBrowser; | |||
} | |||
var task = CreateBrowserAsync(); | |||
var timeout = options?.Timeout != null ? (int)options.Timeout : 30_000; |
There was a problem hiding this comment.
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.
@@ -33,6 +33,17 @@ namespace Microsoft.Playwright; | |||
/// Playwright script runs. | |||
/// </para> | |||
/// <para> | |||
/// You probably want to <a href="https://playwright.dev/docs/api/class-testoptions#test-options-trace">enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This comment looks off.
@@ -230,6 +230,6 @@ void ValidateCookies(IReadOnlyList<BrowserContextCookiesResult> cookies) | |||
ValidateCookies(await Context.CookiesAsync("https://foo.com")); | |||
ValidateCookies(await Context.CookiesAsync(null as string)); | |||
ValidateCookies(await Context.CookiesAsync(null as string[])); | |||
ValidateCookies(await Context.CookiesAsync([])); | |||
// ValidateCookies(await Context.CookiesAsync([])); |
There was a problem hiding this comment.
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.
8f24f68
to
5a5089d
Compare
@@ -415,6 +415,7 @@ private static (IReadOnlyList<TraceEventEntry> Events, Dictionary<string, byte[] | |||
private class TraceEventEntry | |||
{ | |||
public string Type { get; set; } | |||
public string Title { get; set; } | |||
public string ApiName { get; set; } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
public string ApiName { get; set; } |
Covers microsoft/playwright#35888, microsoft/playwright#35969 and microsoft/playwright#35988.
References #3149.