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:

Parameter Type Description
processId number The process id.
routingId number The routing id.

Returns: ElectronWebFrameMain | undefinedThe matching frame, or undefined.