Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 720 Bytes

puppeteer.frame.addstyletag_1.md

File metadata and controls

50 lines (31 loc) · 720 Bytes
sidebar_label
Frame.addStyleTag_1

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

FrameAddStyleTagOptions

**Returns:**

Promise<ElementHandle<HTMLLinkElement>>

An element handle to the loaded <link> element.