playwright/types
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
..
protocol.d.ts feat(chromium): roll Chromium to M94 (#8047) 2021-08-09 13:57:17 -07:00
structs.d.ts feat(locator): implement element locators (#7808) 2021-07-22 21:37:20 -07:00
test.d.ts fix(types): allow specifying scope when overriding fixtures (#8139) 2021-08-11 10:44:15 -07:00
testExpect.d.ts chore(expect): polish matcher names, remote arguable ones (#8060) 2021-08-06 16:58:42 -07:00
testReporter.d.ts docs: refresh getting started docs (#8054) 2021-08-06 14:02:41 -07:00
types.d.ts api(cdp): newCDPSession accepts frames, too (#8157) 2021-08-16 12:49:10 -07:00