This article demonstrates how to use Playwright with Pytest to run automated browser tests, generate detailed HTML reports, and provides best‑practice guidelines for building a comprehensive, maintainable test suite for web applications, covering setup and teardown procedures.
This article explains how to improve Playwright automation scripts by using appropriate wait conditions, explicit timeouts, event listeners, custom functions, proper timeout settings, and parallel async execution, and provides clear Python code examples for each technique.
This article explains Playwright's browser contexts and session management, describing how each context isolates cookies and storage, how to create and control pages with methods like newContext(), newPage(), pages(), bringToFront(), and close(), and provides a complete code example demonstrating multiple contexts for login and data scraping.
This guide demonstrates how to use Python's Playwright library to select single or multiple elements via CSS selectors, click buttons, fill form fields, and retrieve element attributes, providing example code that opens a browser, navigates to a page, and performs these interactions.
This article describes a comprehensive approach to stress‑testing a WebRTC SFU service with 300 concurrent connections, covering client generation via Playwright, monitoring setup, test execution, encountered issues, tuning steps, and final performance conclusions.
This article demonstrates how to use the Playwright library in Python to automate common UI interactions such as dismissing dialog boxes, uploading single or multiple files (including from a folder), and executing JavaScript code on web pages, providing complete code examples for each task.
This tutorial provides a complete Playwright Python script that automates a typical H5 e‑commerce user journey—including registration, login, address entry, product selection, cart addition, checkout, order review, and screenshot capture—while explaining how to adapt URLs and selectors for your own site.
Learn how to use Python's Playwright library to scrape dynamic data from the Xinfadi market website, covering request analysis, URL handling, payload adjustments, and a complete code example that extracts product information, demonstrating a practical approach to web crawling and data extraction.
The article introduces Flybirds v0.2, a plugin‑based, cross‑platform UI automation framework that supports script reuse across web, React Native and native mobile, multiple browsers, concurrent execution, data‑driven testing, and extensible architecture for seamless integration into DevOps pipelines.
This article compares Playwright and Selenium, highlighting Playwright's superior language support, driver‑less operation, faster startup, reliable auto‑waiting, stable code generation, asynchronous capabilities, and headless mode, then provides step‑by‑step environment setup, practical usage tips, and code examples for Java‑based UI testing.
This article introduces Microsoft’s open‑source Playwright framework, outlines its cross‑platform, cross‑browser, and multi‑language capabilities, explains the testing pyramid model, and provides a step‑by‑step quick‑start tutorial with configuration and sample TypeScript test scripts for end‑to‑end web testing.
This article introduces the GerapyPlaywright package, explains how to install it, configure Scrapy to use Playwright via middleware and PlaywrightRequest, and provides a complete example spider with code snippets and logging output for JavaScript‑rendered page crawling.
Playwright, Microsoft’s open‑source end‑to‑end UI testing framework, supports all major browsers, multiple programming languages, isolated contexts, auto‑waiting, and powerful selectors, making it a fast‑growing alternative to Selenium for developers seeking reliable, cross‑browser automation.
This guide explains how Sentry's browser SDK integration tests are built with Playwright, covering test structure, helpers, fixtures, local execution commands, troubleshooting tips, and step‑by‑step instructions for setting up and running the tests across Chromium, Firefox, and WebKit.
This article introduces Microsoft’s open‑source Playwright‑Python library, explains how to install it, demonstrates recording and code generation, provides synchronous and asynchronous usage examples—including mobile device emulation—and discusses its advantages and current limitations for web automation testing.
This article introduces Microsoft’s open‑source Playwright‑Python library, explains its advantages over Selenium, walks through installation, code generation, synchronous and asynchronous usage, mobile emulation, and highlights its strengths and current limitations for Python developers.