Frame.addStyleTag() method
Adds a HTMLLinkElement
into the frame with the desired URL
Signature:
class Frame {
addStyleTag(
options: FrameAddStyleTagOptions
): Promise<ElementHandle<HTMLLinkElement>>;
}
Parameters
Parameter | Type | Description |
---|---|---|
options |
Returns:
Promise<ElementHandle<HTMLLinkElement>>
An element handle to the loaded <link>
element.