Package com.microsoft.playwright
Class Page.AddStyleTagOptions
- java.lang.Object
-
- com.microsoft.playwright.Page.AddStyleTagOptions
-
-
Constructor Summary
Constructors Constructor Description AddStyleTagOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Page.AddStyleTagOptionssetContent(String content)Raw CSS content to be injected into frame.Page.AddStyleTagOptionssetPath(Path path)Path to the CSS file to be injected into frame.Page.AddStyleTagOptionssetUrl(String url)URL of the<link>tag.
-
-
-
Method Detail
-
setContent
public Page.AddStyleTagOptions setContent(String content)
Raw CSS content to be injected into frame.
-
setPath
public Page.AddStyleTagOptions setPath(Path path)
Path to the CSS file to be injected into frame. Ifpathis a relative path, then it is resolved relative to the current working directory.
-
setUrl
public Page.AddStyleTagOptions setUrl(String url)
URL of the<link>tag.
-
-