Medium Brush Stroke

Playwright Features

Tilted Brush Stroke

Browser Support

Playwright supports 3 browsers: Chromium, Firefox & WebKit. Chromium includes the browsers Opera, Chrome, and Edge. Gecko Driver supports Firefox, while Webkit is for Apple Safari.

Tilted Brush Stroke

Supported Languages

Playwright supports Java, Python, .Net C# and JavaScript.

Tilted Brush Stroke

Web Elements Handling

Playwright's technique of handling alerts, iframe, and elements are different. Eg-  locator.click([options]), locator.fill(value[, options])

Tilted Brush Stroke

Assertions

Playwright Test uses the ‘expect’ library for test assertions. This library provides a lot of matchers like toEqual, toContain, toMatch, toMatchSnapshot and many more.

Tilted Brush Stroke

Test Framework

Playwright supports Mocha, Jest, Jasmine, and AVA.

Tilted Brush Stroke

Architecture

Playwright has a Headless browser with event-driven architecture.

Tilted Brush Stroke

Real Devices

Playwright has experimental support for devices but supports emulators.

Tilted Brush Stroke

Prerequisites

Playwright needs NodeJS to be in fully functional mode

Tilted Brush Stroke

Verdict

Overall Playwright is pretty good web automation tool. And it does (almost) everything selenium can do.