Skip to content

chore(driver): roll to 1.63.0-alpha-1788460676000 - #1972

Merged
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:roll-1.63
Sep 4, 2026
Merged

chore(driver): roll to 1.63.0-alpha-1788460676000#1972
Yury Semikhatsky (yury-s) merged 2 commits into
microsoft:mainfrom
yury-s:roll-1.63

Conversation

@yury-s

Copy link
Copy Markdown
Member

Summary

  • Roll driver to 1.63.0-alpha-1788460676000 and regenerate the API.

Ported upstream changes:

Also fixed BrowserContext.setStorageState(Path) which sent the file contents as a string instead of the parsed object.

Skipped (JS-only or internal): recorder/codegen (#41902, #41958, #42442), dashboard debugger panel (#41711), MCP (#42098, #42106, #42359), trace viewer/trace model internals (#42060, #42192, #42208, #42211, #42230, #42319, #42328, #42405, #42431, #42435, #42444, #42508), reporter step params/subtitles (#42250, #42357, #42422, #42515), typed generics (#42162), browser rolls, android fixes, reverted PRs (#41294/#41964, #42157/#42400, #42283/#42411), setHTTPCredentials (still langs: js).

Port upstream client changes:
- multiple HTTP credentials (httpCredentials accepts a list)
- dialogClosed event on Page and BrowserContext
- frameLocator() without selector searches in any frame
- Locator.visible()
- opfs option for storageState()
- Tracing.start ariaSnapshots/screenSnapshots, tracingStart param renames
- tracing recovers after a failed stop, HAR export errors no longer stall close
- propagate tracesDir to request context tracing

Also fix BrowserContext.setStorageState(Path) to send the parsed object.
- keep generic serialization in Tracing.start (restores forwarding of the live option)
- add BrowserContextImpl.setTracesDir and use it from all context creation paths
- simplify httpCredentials normalization, close()/stop() error handling, and the generator union branch
- dedupe tracing artifact tests and tidy test imports
PlaywrightAssertions.setDefaultAssertionTimeout(1000);
AssertionFailedError exception = assertThrows(AssertionFailedError.class, () -> assertThat(locator).hasText("foo"));
assertTrue(exception.getMessage().contains("Assert \"hasText\" with timeout 1000ms"), exception.getMessage());
assertTrue(exception.getMessage().contains("Assert \"hasText\" locator(\"div\") with timeout 1000ms"), exception.getMessage());

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

This looks suspecious.

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is expected, we now always include locator in expect titles.

PlaywrightAssertions.setDefaultAssertionTimeout(1000);
AssertionFailedError exception = assertThrows(AssertionFailedError.class, () -> assertThat(locator).hasText("foo"));
assertTrue(exception.getMessage().contains("Assert \"hasText\" with timeout 1000ms"), exception.getMessage());
assertTrue(exception.getMessage().contains("Assert \"hasText\" locator(\"div\") with timeout 1000ms"), exception.getMessage());

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

This is expected, we now always include locator in expect titles.

@yury-s
Yury Semikhatsky (yury-s) merged commit 07cb05c into microsoft:main Sep 4, 2026
26 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.

3 participants