Playwright 1.0 has been released, a package for automating tasks with Chromium, Firefox, and WebKit.

Microsoft released project release Playwright 1.0, providing a universal API for automating operations in browser interfaces. For example, Playwright allows you to prepare a script to open a specific website in a new tab, fill out/submit a form, hover over certain elements, validate against reference results, or take a screenshot. The project is structured as a library for the Node.js platform and is provided under the Apache 2.0 license.

Features of Playwright:

  • Ability to use a common script and API when working with different browsers based on Chromium, Firefox, and WebKit;
  • Ability to create complex scripts covering multiple pages, domains, and iframes;
  • Automatic waiting for elements to be ready before launching actions, such as clicks and form filling;
  • Interception of network activity for analyzing network requests;
  • Support for running filter scripts for arbitrary page modifications;
  • Ability to emulate mobile devices, locations, and access rights (for example, you can simulate a specific user's location on maps.google.com and automate the creation of map screenshots);
  • Generation of standard mouse and keyboard events;
  • Support for uploading and downloading files.

Source: opennet.ru

Buy reliable website hosting with DDoS protection, VPS VDS servers 🔥 Buy reliable website hosting with DDoS protection, VPS VDS servers | ProHoster