Playwright PHP 1.4

A broader typed browser API, more locator assertions, ARIA snapshots, request waiting, and shared assertion tracing.

Playwright PHP 1.4 expands the public interface and assertion surface.

  • Public declarations across browser, network, storage, video, credential, and screencast APIs.
  • More page, frame, locator, context, evaluation, emulation, and request-waiting operations.
  • More locator assertions, ARIA snapshots, shared auto-waiting, and assertion trace groups.

toHaveClass() now checks the complete class list, toBeEmpty() includes input values, and not() applies only to the next assertion. Custom interface implementations may need the new methods.

Full list of changes: changelog.