Commit Graph

91 Commits (fa67ab2358df92d378eb75bcce2e730effa1cdae)

Author SHA1 Message Date
Peter Steinberger 987bbe6545 test(browser): assert remote CDP retry timeouts correctly 8 months ago
ThanhNguyxn07 2a1a49bd41 fix(browser): retry remote CDP websocket readiness before failing
Remote browser profiles can pass HTTP reachability while Browser.getVersion on the CDP websocket is still warming up right after restart. Add one retry in ensureBrowserAvailable for remote CDP profiles and cover it with a regression test.

Fixes #57397

Co-authored-by: ThanhNguyxn <thanhnguyentuan2007@gmail.com>
8 months ago
Vincent Koc 4b2d528345 fix(plugins): finish channel lint cleanup 8 months ago
Vincent Koc 029290c8d0 fix(plugins): clean fifth channel lint batch 8 months ago
Peter Steinberger b1c98e8469
test: stabilize browser and provider ci shards 8 months ago
Peter Steinberger 3584d28141
refactor: harden plugin metadata and browser sdk seams 8 months ago
Peter Steinberger 471d056e2f
refactor: move browser runtime seams behind plugin metadata 8 months ago
Peter Steinberger ce8492f9a0
chore: bump version to 2026.4.5 8 months ago
Peter Steinberger acd78e0c2f
refactor: split browser sdk seams 8 months ago
Peter Steinberger 6f2f840e97
refactor: collapse plugin sdk extension shims 8 months ago
Peter Steinberger 629baf5fa7
refactor: move plugin setup and memory capabilities to registries 8 months ago
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