puppeteer/new-docs/puppeteer.frameaddscripttagoptions.path.md
Jack Franklin 24cb6a28ad
chore(docs): document Frame class (#6188)
* chore: document Frame class
2020-07-09 14:22:58 +01:00

572 B

Home > puppeteer > FrameAddScriptTagOptions > path

FrameAddScriptTagOptions.path property

The path to a JavaScript file to be injected into the frame.

Signature:

path?: string;

Remarks

If path is a relative path, it is resolved relative to the current working directory (process.cwd() in Node.js).