Skip to main content
Version: 18.0.5

Page.addStyleTag() method

Signature:

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

Parameters

ParameterTypeDescription
optionsFrameAddStyleTagOptions

Returns:

Promise<ElementHandle<HTMLLinkElement>>