ElectronWebFrame.getFrameForSelector method
ElectronWebFrame › getFrameForSelector
Unofficial
Returns the frame element inwebFrame's document selected by selector. Signature:
getFrameForSelector(selector: string): ElectronWebFrameParameters:
| Parameter | Type | Description |
|---|---|---|
| selector | string | The CSS selector for the frame element. |
Returns: ElectronWebFrame — The selected frame, or null if selector does not select a frame or if the frame is not in the current renderer process.