Node
Playwright\Accessibility\Result\Node
Represents a single node (HTML element) affected by an accessibility rule.
$ composer require playwright-php/accessibility
Methods
__construct()
function __construct( public array $target, public ?string $html = null, public ?string $failureSummary = null, public array $any = [], public array $all = [], public array $none = [], )
fromArray()
selfCreate a Node from axe-core JSON data.
function fromArray(array $data): self
getSelector()
stringGet the primary CSS selector for this node.
function getSelector(): string