puppeteer/docs/api/puppeteer.page.removeexposedfunction.md
2023-06-02 14:08:36 +02:00

516 B

sidebar_label
Page.removeExposedFunction

Page.removeExposedFunction() method

The method removes a previously added function via $Page.exposeFunction() called name from the page's window object.

Signature:

class Page {
  removeExposedFunction(name: string): Promise<void>;
}

Parameters

Parameter Type Description
name string

Returns:

Promise<void>