playwright/docs
Ross Wollman 101662765c
api(cdp): newCDPSession accepts frames, too (#8157)
Without this, Playwright's CDP feature leaves unreachable
targets (namely OOPIFs).

This change allows for more advanced experimentation in user-land
without relying on out-of-band CDP connections and clients.

Now you can, for example, call `DOM.getDocument` on the
page OR main frame, observe there is an iframe node with
no `contentDocument` (i.e. OOPIF), make note of the referenced
`frameId`, and then iterate of page.frames() calling `Target.getInfo`
on each to link the Playwright Frame with the CDP `frameId` and
then recurse.

Relates #8113
2021-08-16 12:49:10 -07:00
..
development infra: bump to next version on trunk at a branch point (#4288) 2020-10-29 17:46:07 -07:00
examples docs: add file chooser example, remove links to js samples (#5054) 2021-01-20 08:12:39 -08:00
src api(cdp): newCDPSession accepts frames, too (#8157) 2021-08-16 12:49:10 -07:00