puppeteer/new-docs/puppeteer.webworker.md
Jack Franklin 086c08998b
chore: commit base new-docs (#5973)
This adds the new docs that are generated by API Extractor via TSDoc.
They are sparse because we do not yet use TSDoc in the codebase. This is
the starting point and from here we can work through all the different
classes and improve the documentation.
2020-06-04 15:56:45 +01:00

1.5 KiB

Home > puppeteer > WebWorker

WebWorker class

Signature:

export declare class WebWorker extends EventEmitter 

Constructors

Constructor Modifiers Description
(constructor)(client, url, consoleAPICalled, exceptionThrown) Constructs a new instance of the WebWorker class

Properties

Property Modifiers Type Description
_client CDPSession
_executionContextCallback (value: ExecutionContext) => void
_executionContextPromise Promise<ExecutionContext>
_url string

Methods

Method Modifiers Description
evaluate(pageFunction, args)
evaluateHandle(pageFunction, args)
executionContext()
url()