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