StartOptions

Playwright\Tracing\Options\StartOptions

Constructor options

OptionTypeDefault
name ?string null
screenshots ?bool null
snapshots ?bool null
sources ?bool null
title ?string null

Methods

__construct()

function __construct( public ?string $name = null, public ?bool $screenshots = null, public ?bool $snapshots = null, public ?bool $sources = null, public ?string $title = null, )

toArray()

array
function toArray(): array

from()

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