Playwright 1.0, a package for automating work with Chromium, Firefox and WebKit, has been published

Microsoft company ΠΎΠΏΡƒΠ±Π»ΠΈΠΊΠΎΠ²Π°Π»Π° project release Playright 1.0, which provides a universal API for automating operations in the browser interface. For example, Playwright allows you to prepare a script to open a specific site in a new tab, fill out/submit a form, hover over certain elements, check against benchmark results, or take a screenshot. The project is designed as a library for the Node.js platform and supplied licensed under Apache 2.0.

Playwright Features:

  • Ability to use a common script and API when working with different browsers based on Chromium, Firefox and WebKit;
  • Ability to create complex scripts spanning multiple pages, domains and iframes;
  • Automatically wait for elements to be ready before triggering actions such as clicking and filling out a form;
  • Interception of network activity to analyze network requests;
  • Support for running filter scripts for arbitrary modification of pages;
  • The ability to emulate mobile devices, location and access rights (for example, you can simulate a specific user location in maps.google.com and automate the creation of map screenshots);
  • Generation of normal mouse and keyboard events;
  • Support for uploading and downloading files.

Source: opennet.ru

Add a comment