Skip to content

Latest commit

 

History

History
18 lines (10 loc) · 572 Bytes

puppeteer.frameaddscripttagoptions.path.md

File metadata and controls

18 lines (10 loc) · 572 Bytes

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).