Testing Web Applications with Playwright

Playwright is a open source framework for Web Testing and Automation developed by Microsoft. It allows testing Chromium, Firefox and WebKit with a single API. Playwright is built to enable cross-browser web test automation that is always green, capable, reliable and fast. You can use the Playwright API in TypeScript, JavaScript, Python, .NET and Java.

Testing is hard, testing takes time to learn and to write, and time is money. As software developers, we want to test. We know we should, but we don’t have time. So how can we get more developers to do testing? We can create better tools. Playwright’s codegen generates tests for you in JavaScript, TypeScript, Dot Net, Java or Python. Playwright waits for elements to be actionable prior to performing actions. It also has a rich set of introspection events. The combination of the two eliminates the need for artificial timeouts – the primary cause of flaky tests. Playwright assertions are created specifically for the dynamic web. Checks are automatically retried until the necessary conditions are met. Now, you really have no excuses not to use a test automation tool.

Video producer: https://ndcoslo.com/