Skip to content

Function: getNestedFrame()

ts
function getNestedFrame(ctx: Context, selectors: string[]): Promise<Context>;

Defined in: src/pages/index.ts:88

Parameters

ParameterTypeDescription
ctxContextThe Context to scope the selection.
selectorsstring[]Ordered selectors for each nested iframe.

Returns

Promise<Context>

A new Context scoped from the innermost iframe.

Deprecated

Use getFrame with the >> separator instead.

Select a chain of nested iframes and return the innermost Context.

Matterway Assistant SDK Documentation