5991 Commits

Author SHA1 Message Date
Yury Semikhatsky 3b346c8df5 feat(cli): shut idle headless sessions down after an hour (#42676) 2026-09-11 15:51:39 -07:00
Yury Semikhatsky 6750deccd1 chore(mcp): own the idle timer in the browser factory (#42678) 2026-09-11 14:36:13 -07:00
Holger Benl d78a9e71f2 fix(bidi): don't deserialize the toString property (#42677) 2026-09-11 11:50:52 -07:00
Yury Semikhatsky dc0f852272 test(mcp): keep one idle timeout test per scenario (#42666) 2026-09-11 09:38:57 -07:00
Pavel Feldman 11ade07c8a feat(mcp): add --image-responses=only to return images without the text part (#42672) 2026-09-11 09:02:11 -07:00
Dmitry Gozman 1cee22292e feat(mcp): expose page-registered WebMCP tools (#42613) 2026-09-11 10:10:39 +01:00
Ashraf Ali 14c2dcf1ec fix(net): apply socketTimeout from socket creation in httpRequest (#42660) 2026-09-10 16:24:12 -07:00
Yury Semikhatsky 77e4a17da9 fix(mcp): follow symlinks when checking file access against workspace roots (#42628) 2026-09-10 15:59:29 -07:00
Yury Semikhatsky 9e371c00b5 feat(mcp): add --timeout-idle to close the browser after inactivity (#42663)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-10 15:15:19 -07:00
Florian Schwalm 59672632a2 fix(client-certificates): reestablish a way to explicitly send no client certificate for an origin (#42547) 2026-09-10 13:55:45 -07:00
Ashraf Ali b99b75de8e fix(server): dispose temporary iframe element handles after hit-target checks (#42655) 2026-09-10 13:53:03 -07:00
Pavel Feldman 858526b31d feat(snapshots): add --update-snapshots=missing that passes tests (#42662) 2026-09-10 13:51:56 -07:00
Pavel Feldman 37f7d8f980 fix(list): print only the last attempt for inline failures with retries (#42648) 2026-09-10 13:51:46 -07:00
Pavel Feldman af74c938e4 test(webkit): document a webkit transition crash from 42637 (#42640) 2026-09-09 17:19:41 -07:00
Pavel Feldman cf13a78d66 test(route): cover sec-fetch headers visibility in route handler (#42638) 2026-09-09 17:17:30 -07:00
Pavel Feldman 47c35ea3be fix(screencast): keep overlays above top layer elements (#42642) 2026-09-09 16:36:05 -07:00
Dmitry Gozman aeebee1d29 feat(evaluate): add "world" option to evaluate methods (#42635) 2026-09-09 19:18:40 +01:00
Pavel Feldman aafd6e7deb fix(git): do not hang when git fetch stalls on a credential prompt (#42639) 2026-09-09 09:33:07 -07:00
Dmitry Gozman fa2bfcf407 feat(trace): record full stack for test steps (#42636) 2026-09-09 16:39:31 +01:00
Pavel Feldman 4302dbb90f fix(recorder): split showRecorder and startRecording, deliver events per client (#42627) 2026-09-08 18:43:04 -07:00
Pavel Feldman 8c2234cdd5 fix(dom): scroll instantly on pointer action retry with smooth scroll-behavior (#42626) 2026-09-08 16:54:10 -07:00
Pavel Feldman 6232bd76fc fix(mcp): connect each client to the shared browser separately (#42622) 2026-09-08 16:12:11 -07:00
Yury Semikhatsky da02274129 test: fix referer check on msedge, drop persistent OPFS test (#42570) 2026-09-08 15:00:46 -07:00
Dmitry Gozman fab00c007c fix(fetch): preserve node error fields across serialization (#42562) 2026-09-08 20:16:24 +01:00
Pavel Feldman 3eb0ce9851 feat(test runner): expose filteredProjects on FullConfig (#42610) 2026-09-08 09:55:22 -07:00
Pavel Feldman 8db8731cc5 fix(chromium): re-apply touch emulation after screenshot beyond viewport (#42617) 2026-09-08 09:40:12 -07:00
Devin Rousso bae3292f01 fix(cli): stop daemon when socket disappears (#42454)
detached browser daemons stay alive after losing their control socket

monitor the socket identity and exit gracefully when it disappears or is replaced

fixes <https://github.com/microsoft/playwright/issues/42428>
2026-09-08 09:39:47 -06:00
microsoft-playwright-automation[bot] 96af9544dd test: roll stable-test-runner to 1.63.0-alpha-2026-08-31 (#42474)
Co-authored-by: microsoft-playwright-automation[bot] <203992400+microsoft-playwright-automation[bot]@users.noreply.github.com>
2026-09-07 13:03:12 +01:00
Dmitry Gozman ca667feee5 fix(har): do not report zero sizes for bodies that were never read (#42564) 2026-09-04 20:50:09 +01:00
Pavel Feldman 5812882a92 feat(test): add subtitle option to test.step (#42566) 2026-09-04 12:47:36 -07:00
Dmitry Gozman 2b7a5f2ea1 test: response.body() for content-encoding:identity (#42537) 2026-09-03 20:06:24 +01:00
Dmitry Gozman 648a67c7c1 fix(mcp): create parent directories for explicitly named files (#42540) 2026-09-03 20:05:45 +01:00
Dmitry Gozman 612050ebe6 fix(test): support multiple contexts with --debug=cli (#42503) 2026-09-03 08:34:13 +01:00
Yury Semikhatsky e9163e238d feat(mcp): add --profile-dir-name to select the Chrome profile in extension mode (#42527) 2026-09-02 15:36:09 -07:00
Yury Semikhatsky df01cf969b fix(mcp): time out extension connection when a token is passed (#42525) 2026-09-02 15:16:41 -07:00
Dmitry Gozman 3be4b29b5d fix(trace-viewer): serve snapshots with a strict script-src policy (#42508) 2026-09-02 20:10:47 +01:00
Dmitry Gozman bcf53b58af test(connect): fix unsafe launch options test with channels and tracing (#42504) 2026-09-02 20:10:33 +01:00
Pavel Feldman 14f3c0cf01 fix(reporter): include host in navigation and request subtitles (#42515) 2026-09-02 10:28:19 -07:00
Devin Rousso 8e11a5b67d test(webkit): reenable WebSocket handshake HAR coverage (#42513)
the upstream WebKit fix restores the reported WebSocket handshake headers on macOS 26

remove the platform skip so the existing HAR assertions run again

see <https://github.com/microsoft/playwright/issues/42205>
2026-09-02 10:51:55 -06:00
Dmitry Gozman 0f5a946a03 test: skip crash tests on webkit debian-13 (#42510) 2026-09-02 09:51:44 -07:00
Ashraf Ali b34b234713 fix(debug-controller): drop recorded actions when recording session ends (#42458) 2026-09-02 13:28:58 +01:00
Devin Rousso 350d24a344 chore(firefox): remove the WebSocket handshake Worker workaround (#42455) 2026-09-02 08:39:17 +01:00
Yury Semikhatsky 9e3157b5c5 fix(mcp): refuse browser_close when the browser context is shared (#42495) 2026-09-01 14:58:32 -07:00
Yury Semikhatsky 902a864ac6 feat(storage): capture OPFS in storage state (#42248) 2026-09-01 14:57:55 -07:00
Yury Semikhatsky b12432801c Revert "fix(mcp): drop the backend after browser_close with a shared browser" (#42492) 2026-09-01 13:44:49 -07:00
Devin Rousso 8f206e1c4f fix(trace): keep client paths out of remote launch options (#42436)
remote browser servers can receive Playwright Test worker paths and try to write trace files on the client filesystem

remove `artifactsDir` and `tracesDir` from remote launch options

fixes <https://github.com/microsoft/playwright/issues/42394>
2026-09-01 13:30:56 -06:00
Yury Semikhatsky 03a69df918 fix(mcp): disable the chromium sandbox for the bundled browser on linux (#42490) 2026-09-01 11:08:06 -07:00
Yury Semikhatsky 260eae3111 chore(extension): bump version to 0.4.0 (#42482) 2026-09-01 10:12:25 -07:00
Pavel Feldman 104597f4b5 feat(locator): introduce locator.visible() (#42479) 2026-09-01 09:17:21 -07:00
Changsu Seong ba0b817d40 fix(trace-viewer): label filter inputs and keyboard-accessible error source (#42469)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-01 13:35:43 +01:00