StartOptions
Playwright\Tracing\Options\StartOptions
Constructor options
| Option | Type | Default |
|---|---|---|
| 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()
arrayfunction toArray(): array
from()
selffunction from(array|self $options = []): self