[meta] Page.getFrameTree
Categories
(Remote Protocol :: CDP, task)
Tracking
(Not tracked)
People
(Reporter: ato, Unassigned)
References
()
Details
(Keywords: meta, Whiteboard: [method=Page.getFrameTree])
Reporter | ||
Updated•5 years ago
|
Comment 1•5 years ago
|
||
This is called when Puppeteer initializes the FrameManager, which is always present:
https://github.com/GoogleChrome/puppeteer/blob/master/lib/FrameManager.js#L61
We actually have this API implemented but don't return all the required properties. In _handleFrameTree
it needs at least also the parentId
, and childFrames
. Both aren't used right now. Maybe also other properties are needed somewhere else.
https://github.com/GoogleChrome/puppeteer/blob/master/lib/FrameManager.js#L175-L184
Comment 2•4 years ago
|
||
(In reply to Henrik Skupin (:whimboo) [⌚️UTC+2] from comment #1)
We actually have this API implemented but don't return all the required properties. In
_handleFrameTree
it needs at least also theparentId
, andchildFrames
. Both aren't used right now. Maybe also other properties are needed somewhere else.
Both properties have been implemented now with my patch on bug 1605359. All the others don't seem to be relevant to Puppeteer, and as such are not implemented yet. We would have to follow-up with those additions at a later time (if necessary at all).
Updated•4 years ago
|
Assignee | ||
Updated•3 years ago
|
Updated•2 years ago
|
Comment 3•4 months ago
|
||
Everything that we could do for this API is done.
Description
•