Our great sponsors
-
Playwright
Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
running-playwright-on-aws-lambda
Running hundreds of Playwright E2E tests in a few seconds with AWS Lambda
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
It's built by the founders of Puppeteer which came out of the Chrome team. Some things I like about it:
1. It's reliable and implements auto-waiting as described in the article. You can use modern async/await syntax and it ensures elements are a) attached to the DOM, visible, stable (not animating), can receive events, and are enabled: https://playwright.dev/docs/actionability
2. It's fast — It creates multiple processes and runs tests in parallel, unlike e.g. Cypress.
3. It's cross-browser — supports Chrome, Safari, and Firefox out-of-the-box.
Puppeteer has experimental Firefox support.
https://pptr.dev/#faq:~:text=What%20is%20the%20status%20of%2...
Electron appear to have dropped support for their previous automated testing framework - https://github.com/electron-userland/spectron - and now suggest Playwright as an alternative: https://www.electronjs.org/docs/latest/tutorial/automated-te...
For PHP-based applications I've used mPDF[0], which generates PDFs from HTML without using a browser. I'm sure it can't handle all the CSS bells/whistles that a "modern" website uses, but it's worked well for me.
[0]: https://github.com/mpdf/mpdf