Input options for the ‘addStyleTag’ mutation.

Definition

input AddStyleTagOptions {
  content: String
  path: String
  url: URL
}

Fields

content: String

The inline CSS content of the style tag. Use this or ‘url’ or ‘path’. Example: "body { font-size: 16px; }"

path: String

Path to a local CSS file to load. Not typically used in remote execution; prefer ‘content’ or ‘url’.

url: URL

The URL source for the style tag. Use this or ‘content’ or ‘path’. Example: "https://example.com/styles.css".