Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 669 Bytes

puppeteer.page.addstyletag.md

File metadata and controls

26 lines (17 loc) · 669 Bytes

Home > puppeteer > Page > addStyleTag

Page.addStyleTag() method

Signature:

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

Parameters

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

Returns:

Promise<ElementHandle>