ScriptTagOptions

Playwright\Page\Options\ScriptTagOptions

Constructor options

OptionTypeDefault
url ?string null
path ?string null
content ?string null
type ?string null

Methods

__construct()

function __construct( public ?string $url = null, public ?string $path = null, public ?string $content = null, public ?string $type = null, )

toArray()

array
function toArray(): array

from()

self
function from(array|self $options = []): self