Skip to main content
Version: 19.4.0

Page.addStyleTag() method

Signature:

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

Parameters

ParameterTypeDescription
optionsFrameAddStyleTagOptions

Returns:

Promise<ElementHandle<HTMLStyleElement | HTMLLinkElement>>