class Playwright::Frame::AddStyleTagParams

Included Modules

Defined in:

playwright/frame.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(pull : JSON::PullParser) #

[View source]
def self.new(url : Nil | String = nil, path : Nil | String = nil, content : Nil | String = nil) #

[View source]

Instance Method Detail

def content : String | Nil #

Raw CSS content to be injected into frame.


[View source]
def content=(content : String | Nil) #

Raw CSS content to be injected into frame.


[View source]
def path : String | Nil #

Path to the CSS file to be injected into frame. If #path is a relative path, then it is resolved relative to the current working directory.


[View source]
def path=(path : String | Nil) #

Path to the CSS file to be injected into frame. If #path is a relative path, then it is resolved relative to the current working directory.


[View source]
def url : String | Nil #

URL of the <link> tag.


[View source]
def url=(url : String | Nil) #

URL of the <link> tag.


[View source]