sidebar_label |
---|
Frame.addStyleTag |
Adds a HTMLStyleElement
into the frame with the desired URL
class Frame {
addStyleTag(
options: Omit<FrameAddStyleTagOptions, 'url'>
): Promise<ElementHandle<HTMLStyleElement>>;
}
Parameter |
Type |
Description |
---|---|---|
options |
Omit<FrameAddStyleTagOptions, 'url'> |
Promise<ElementHandle<HTMLStyleElement>>
An element handle to the loaded <style>
element.