Expand description
Worker โ web/service/shared-worker capture via the CDP Target domain.
Page::on_worker enables flattened auto-attach
on the page session (Target.setAutoAttach { flatten: true }) and dispatches a
Worker for every child target whose type is worker, service_worker, or
shared_worker (surfaced via Target.attachedToTarget). Each worker gets its
own sub-session on the same flattened connection; evaluation runs there via
Runtime.evaluate.
Structsยง
- Worker
- A web/service/shared worker owned by a page.