Skip to content

ElectronWebFrameMainModule.fromId method

ElectronWebFrameMainModule › fromId

Unofficial

Returns the frame with the given process and routing ids, or undefined if none is found.

Signature:

fromId(processId: number, routingId: number): ElectronWebFrameMain | undefined

Parameters:

ParameterTypeDescription
processIdnumberThe process id.
routingIdnumberThe routing id.

Returns: ElectronWebFrameMain | undefinedThe matching frame, or undefined.