Of the 2 Frame methods, browser sessions serve 2, phone sessions 0 and computer sessions 2. A method marked not served answers StrategyUnavailable on that kind of session; check the handshake’s capabilities before relying on one.

Frame.getFrames

Browser: served Phone: not served Computer: served Takes targetId The tab’s frames, parents before children, cross-origin frames included.
{"id": 1, "method": "Frame.getFrames", "params": {}}
No params. Result
FieldTypeDescription
framesFrameInfo[]

Frame.waitForFrame

Browser: served Phone: not served Computer: served Takes targetId Wait for a frame matching urlContains, name and parentFrameId. With afterSeq, only frames attached after it count; without, an attached match answers at once. Fails with EventsExpired or ActionTimeout as Target.waitForTarget does.
{"id": 1, "method": "Frame.waitForFrame", "params": {}}
ParamTypeRequiredDescription
urlContainsstringNo
namestringNo
parentFrameIdstringNo
afterSeqintegerNoOnly events after this event-log position count (a response’s seq). The log keeps each category for its own window (events: 1000 entries or 5 minutes; network records: 5000 entries or 2 minutes). One older than the window of the category the wait reads fails with EventsExpired; re-read state instead.
timeoutMsintegerNoBudget in milliseconds. 0 or omitted means 30000; at most 120000. Running out is ActionTimeout.
Result
FieldTypeDescription
frameIdstringOpaque frame id for frameId on the envelope.
parentFrameIdstringAbsent for the main frame.
targetIdstringOpaque tab id, stable while the tab is open. Never parse it.
urlstring
namestring
crossOriginbooleanThe frame is from another origin than its parent.