1
1
mirror of https://github.com/microsoft/playwright.git synced 2024-12-14 21:53:35 +03:00
Commit Graph

8 Commits

Author SHA1 Message Date
Ross Wollman
101662765c
api(cdp): newCDPSession accepts frames, too ()
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 
2021-08-16 12:49:10 -07:00
Dmitry Gozman
4c3bd11820
test: roll to folio@0.4.0-alpha14 () 2021-05-16 19:58:26 -07:00
Dmitry Gozman
5e84eade85
test: roll to folio@0.4.0-alpha13 () 2021-05-15 07:42:35 -07:00
Dmitry Gozman
8b6b894dd8
test: prepare test to use options as passed ()
This changes `headful` to `headless` to align with launch options.
Also replaces `isChromium` and friends with `browserName`.
2021-05-13 10:22:23 -07:00
Dmitry Gozman
2d4538c23d
test: cleanup tests and configs after last folio update () 2021-05-08 17:45:04 -07:00
Dmitry Gozman
de21a94b75
test: roll to folio@0.4.0-alpha6 () 2021-04-30 13:26:13 -07:00
Dmitry Gozman
11882cdda7
test: roll to folio@0.4.0-alpha3 () 2021-04-29 11:11:32 -07:00
Dmitry Gozman
4f7e7450e2
test: migrate last tests to new folio () 2021-04-05 09:18:56 -07:00