Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 712 Bytes

puppeteer.page.addscripttag.md

File metadata and controls

27 lines (18 loc) · 712 Bytes

Home > puppeteer > Page > addScriptTag

Page.addScriptTag() method

Signature:

addScriptTag(options: {
        url?: string;
        path?: string;
        content?: string;
        type?: string;
    }): Promise<ElementHandle>;

Parameters

Parameter Type Description
options { url?: string; path?: string; content?: string; type?: string; }

Returns:

Promise<ElementHandle>