Skip to main content
Version: Next

Page.addStyleTag() method

Signature:

class Page {
addStyleTag(
options: FrameAddStyleTagOptions
): Promise<ElementHandle<HTMLStyleElement | HTMLLinkElement>>;
}

Parameters

ParameterTypeDescription
optionsFrameAddStyleTagOptions

Returns:

Promise<ElementHandle<HTMLStyleElement | HTMLLinkElement>>