Commit Graph

80 Commits (acd8966ff054511b541ab1020377055b2694de09)

Author SHA1 Message Date
Peter Steinberger 67d6fc8847
chore(plugins): sync versions to 2026.4.4 8 months ago
Peter Steinberger e3ac0f43df
feat(qwen): add qwen provider and video generation 8 months ago
Peter Steinberger 605f48556b
refactor(browser): share lifecycle cleanup helpers 8 months ago
Peter Steinberger bec891b2e2 test: cover attach-only browser stop cleanup (#60097) (thanks @pedh) 8 months ago
pedh 2c9723afd5 fix(browser): disconnect Playwright CDP session on stop for attachOnly/remote profiles
When `browser stop` is called for an `attachOnly` or remote CDP
profile, `profileState.running` is null (no process was launched), so
`stopRunningBrowser()` returned early without closing the Playwright
CDP connection. This left emulation overrides (prefers-color-scheme,
viewport, etc.) permanently applied until a full gateway restart.

Now call `closePlaywrightBrowserConnectionForProfile()` before
returning for attachOnly and remote CDP profiles, matching the cleanup
behavior already present in `resetProfile()`. Regular profiles that
were never started still return `{ stopped: false }`.

Fixes #60095
8 months ago
Matt Van Horn b22f6257f0 fix(browser): remove fromSurface: false for Chrome 146+ screenshot compat 8 months ago
Agustin Rivera 5da360cada fix(browser): trim validation error prefix 8 months ago
Agustin Rivera aefc6fc161 fix(browser): validate profile cdp urls 8 months ago
Peter Steinberger bc356cc8c2 fix: harden direct CDP websocket validation (#60469) (thanks @eleqtrizit) 8 months ago
Agustin Rivera c3f8427973 fix(browser): validate initial cdp endpoints 8 months ago
Agustin Rivera 80720b4994 fix(browser): validate cdp websocket pivots 8 months ago
Peter Steinberger 1d5c57bad9
fix(ci): align browser and signal test expectations 8 months ago
Vincent Koc c4d2c4899d refactor(browser): lazy-load plugin registration 8 months ago
Peter Steinberger 1e6e685347
fix: unblock cli startup metadata 8 months ago
Vincent Koc 88d3b73c6d fix(types): annotate portable exported helper types 8 months ago
Peter Steinberger 13bc70397a
test: trim test partial mocks 8 months ago
Peter Steinberger 636a23b73e
test: extract node builtin mock helpers 8 months ago
Peter Steinberger e0580e6863
test: harden shared-worker runtime setup 8 months ago
Vincent Koc 745f1c9812 fix(types): align callers with removed legacy config aliases 8 months ago
Peter Steinberger 2a1a7ea6f9 fix(browser): route test support through sdk testing 8 months ago
Peter Steinberger 3aac90fc85 fix: restore browser-config sdk compatibility 8 months ago
Shakker 4528f8779e test: localize browser config env helper 8 months ago
Shakker a5b23f17fb perf: split browser config sdk support 8 months ago
Shakker f41a67b118 fix: restore browser and whatsapp boundary contracts 8 months ago
Shakker 2e520d112d refactor: split browser sdk imports for sandbox and audit 8 months ago
Vincent Koc 6366010884 fix(ci): route extension test helpers through public sdk seams 8 months ago
Vincent Koc 62b1fe0b85 fix(ci): correct browser live test export 8 months ago
Vincent Koc c1d68f213d test(helpers): use direct internal seams 8 months ago
Vincent Koc 9bd05d3841 test(browser): stop reloading auth server module 8 months ago
Vincent Koc d21d859ded test(browser): stop reloading cdp screenshot module 8 months ago
Vincent Koc 9a53c3d772 test(browser): drop redundant module resets 8 months ago
Vincent Koc 5021b12ac1 perf(browser): trim invoke-browser test imports 8 months ago
Vincent Koc fac89d403b perf(browser): split remote profile tab op tests 8 months ago
Vincent Koc c0a8d07fce test(browser): collapse wrapper suite files 8 months ago
Vincent Koc 2bfbddb81f perf(browser): remove duplicate heavy test wrappers 8 months ago
Peter Steinberger 9bba2ec0ad
test: trim extension teardown churn 8 months ago
Peter Steinberger 847faa3d04
test: trim extension test import churn 8 months ago
pgondhi987 462b4020bc
fix(browser): block SSRF redirect bypass via real-time route interception (#58771)
Install a Playwright route handler before `page.goto()` so navigations
to private/internal IPs are intercepted and aborted mid-redirect instead
of being checked post-hoc after the request already reached the internal
host. Blocked targets are permanently marked and rejected for subsequent
tool calls.

Thanks @pgondhi987
8 months ago
mappel-nv 9c22d63669
Browser: normalize localhost absolute-form CDP hosts (#59236)
* Browser: normalize localhost absolute-form CDP hosts

* CHANGELOG: note localhost absolute-form CDP fix

---------

Co-authored-by: Jacob Tomlinson <jtomlinson@nvidia.com>
8 months ago
Peter Steinberger 8988894ff7
build: prepare 2026.4.1-beta.1 release 8 months ago
Vincent Koc cb7c0e24d0 perf(test): trim more browser reload churn 8 months ago
Vincent Koc dd5bf6b1d0 perf(test): cut more hotspot reload churn 8 months ago
Vincent Koc 7a7549f12f
perf(test): reduce hotspot reload churn (#59033) 8 months ago
Peter Steinberger 5c27f15fe6
test: drop browser plugin registration smoke 8 months ago
Han Yang 68ee3113a9
Fix: CDP profiles prefer cdpPort over stale WebSocket cdpUrl (Resolves #58494) (#58499)
* fix(browser): prefer cdpPort over stale WebSocket cdpUrl for attach-only profiles

* fix(browser): preserve profile host when dropping stale devtools WS path
8 months ago
Peter Steinberger 9ea7e06460
build: bump version to 2026.4.1 8 months ago
Peter Steinberger 2a60e34f2a
build: prepare 2026.3.31 stable release 8 months ago
Peter Steinberger 91be36ca4f
build: prepare 2026.3.31-beta.1 release 8 months ago
Peter Steinberger c425ef3e74
build: bump version to 2026.3.31 8 months ago
FMLS 44caf1ee3d
fix(browser): prevent cross-origin images from disappearing in CDP screenshots (#54358)
fromSurface: true + captureBeyondViewport: true triggers a Chromium compositor
bug where cross-origin image textures are lost when extending the capture
surface. Switch to fromSurface: false to use the software rendering path.

For full-page captures, temporarily expand the viewport via
Emulation.setDeviceMetricsOverride, preserving the current mobile/DPR/screen
state during capture and restoring it afterward so pre-existing device
emulation is not lost.

Made-with: Cursor

Co-authored-by: hakunaliu <hakunaliu@tencent.com>
8 months ago