Skip to content

ElectronWebContents.replace method

ElectronWebContents › replace

Unofficial

Executes the editing command replace in the web page.

Signature:

replace(text: string): void

Parameters:

ParameterTypeDescription
textstringThe replacement text.

Returns: void