DeviceRegistry

Playwright\Device\DeviceRegistryInterface

$ composer require playwright-php/devices

Methods

get()

Device

Returns the Device with the given name.

function get(string $name): Device

has()

bool

Returns whether a Device with the given name exists.

function has(string $name): bool