Tag

Playwright

1 views collected around this technical thread.

Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Mar 1, 2025 · Artificial Intelligence

Predicting Movie Box Office with Playwright Data Scraping and DeepSeek AI

This article demonstrates how to combine Playwright web‑scraping of multiple Chinese movie platforms with the DeepSeek AI model to automatically collect data and generate a scientific prediction of the box‑office revenue for the film "Ne Zha 2".

AI predictionDeepSeekJavaScript
0 likes · 12 min read
Predicting Movie Box Office with Playwright Data Scraping and DeepSeek AI
Test Development Learning Exchange
Test Development Learning Exchange
Feb 20, 2025 · Frontend Development

Enhancing Playwright with Custom Commands, Latest Features, Community Resources, and a Selenium Comparison

This article explains how to extend Playwright with custom commands, highlights its newest features, shares community resources and best practices, and compares it to Selenium to demonstrate why Playwright is a compelling choice for modern UI automation testing.

Custom CommandsPlaywrightSelenium Comparison
0 likes · 5 min read
Enhancing Playwright with Custom Commands, Latest Features, Community Resources, and a Selenium Comparison
Test Development Learning Exchange
Test Development Learning Exchange
Feb 19, 2025 · Frontend Development

Cross‑Browser Testing, Browser Configuration, Visual Regression, and Mobile Emulation with Playwright

This article explains how to use Playwright for cross‑browser testing, configure browser options, perform visual regression checks, and emulate mobile devices, providing Python code examples for each scenario to help ensure consistent user experiences across platforms.

Playwrightcross-browser testingmobile emulation
0 likes · 6 min read
Cross‑Browser Testing, Browser Configuration, Visual Regression, and Mobile Emulation with Playwright
Test Development Learning Exchange
Test Development Learning Exchange
Feb 19, 2025 · Frontend Development

Optimizing UI Automation Testing with Playwright

This article explores techniques to optimize UI automation testing using Playwright, including performance bottleneck analysis, debugging tools, logging strategies, and leveraging headless mode for efficiency.

Headless TestingLoggingPerformance Optimization
0 likes · 4 min read
Optimizing UI Automation Testing with Playwright
Test Development Learning Exchange
Test Development Learning Exchange
Feb 18, 2025 · Frontend Development

Integrating Playwright with unittest or pytest for Efficient Automated Testing

This article explains how to combine Playwright with Python's unittest or pytest frameworks to build robust test suites, design data‑driven tests, run tests in parallel or distributed environments, and integrate the workflow into CI/CD pipelines such as GitHub Actions and Jenkins.

AutomationCI/CDPlaywright
0 likes · 6 min read
Integrating Playwright with unittest or pytest for Efficient Automated Testing
Test Development Learning Exchange
Test Development Learning Exchange
Feb 18, 2025 · Frontend Development

Advanced Network Interception, Response Analysis, Throttling, and Proxy Configuration with Playwright

This article explains how to use Playwright to intercept and mock network requests, analyze responses, simulate various network conditions including throttling and offline mode, and configure proxy servers, providing Python code examples for comprehensive web‑application testing.

AutomationPlaywrightnetwork interception
0 likes · 6 min read
Advanced Network Interception, Response Analysis, Throttling, and Proxy Configuration with Playwright
Test Development Learning Exchange
Test Development Learning Exchange
Feb 17, 2025 · Frontend Development

Using Playwright for Advanced UI Automation: Page Navigation, Alerts, Scrolling, Drag‑Drop, and Browser History

This article explains how to use Playwright with Python to automate complex web interactions such as multi‑page navigation, new‑tab handling, alert/confirm/prompt dialogs, scrolling, drag‑and‑drop, and browser history manipulation, providing clear code examples for each scenario.

Browser InteractionPlaywrightPython
0 likes · 5 min read
Using Playwright for Advanced UI Automation: Page Navigation, Alerts, Scrolling, Drag‑Drop, and Browser History
Test Development Learning Exchange
Test Development Learning Exchange
Feb 17, 2025 · Frontend Development

Playwright Guide: Form Filling, File Upload/Download, Keyboard Shortcuts, and Validation in UI Automation

This article demonstrates how to use Playwright for UI automation by showing how to fill various form fields, upload and download files, simulate keyboard shortcuts and combinations, and handle form validation and errors, providing complete Python code examples for each scenario.

File UploadForm TestingPlaywright
0 likes · 7 min read
Playwright Guide: Form Filling, File Upload/Download, Keyboard Shortcuts, and Validation in UI Automation
Test Development Learning Exchange
Test Development Learning Exchange
Feb 16, 2025 · Frontend Development

Playwright Element Locating Strategies and Best Practices for UI Automation Testing

This article explains how to locate web elements in Playwright using CSS selectors, XPath, text and attribute-based strategies, and demonstrates dynamic waiting techniques and handling of dynamically changing or obscured elements for reliable UI automation testing.

CSS SelectorsElement LocatingPlaywright
0 likes · 5 min read
Playwright Element Locating Strategies and Best Practices for UI Automation Testing
Test Development Learning Exchange
Test Development Learning Exchange
Feb 15, 2025 · Frontend Development

Getting Started with Playwright: Introduction, Installation, Browser Setup, and Configuration

This article introduces Playwright, explains its key features, guides readers through installing the tool and its dependencies, demonstrates how to launch Chromium, Firefox, and WebKit browsers with Python code, and shows common configuration options such as headless mode, timeouts, and proxy settings.

AutomationPlaywrightPython
0 likes · 5 min read
Getting Started with Playwright: Introduction, Installation, Browser Setup, and Configuration
ByteDance Web Infra
ByteDance Web Infra
Dec 17, 2024 · Frontend Development

Midscene.js: Multimodal AI‑Powered UI Automation for Web Frontend Testing

Midscene.js, an open‑source UI automation framework from ByteDance Web Infra, leverages multimodal AI to simplify writing, maintaining, and debugging web UI tests with JavaScript or YAML integrations, while discussing its origins, usage patterns, limitations, cost, and security considerations.

JavaScriptMidscene.jsPlaywright
0 likes · 11 min read
Midscene.js: Multimodal AI‑Powered UI Automation for Web Frontend Testing
JD Tech Talk
JD Tech Talk
Nov 22, 2024 · Mobile Development

Implementing UI Automation Testing for Auto Insurance Systems Using Playwright

This article discusses implementing UI automation testing for auto insurance systems using Playwright, addressing the challenges of testing multiple insurance providers and demonstrating how automated testing can significantly improve efficiency and reduce manual testing workload.

API testingAuto Insurance SystemsPlaywright
0 likes · 9 min read
Implementing UI Automation Testing for Auto Insurance Systems Using Playwright
Python Programming Learning Circle
Python Programming Learning Circle
Oct 24, 2024 · Frontend Development

Getting Started with Playwright for Python: Installation and Code Generation

This article introduces Playwright‑Python, a powerful cross‑platform browser automation library, explains how to install it with pip, describes its support for Chromium, Firefox and WebKit, and shows how to use the codegen command to record actions and generate scripts with various options.

Code GenerationInstallationPlaywright
0 likes · 4 min read
Getting Started with Playwright for Python: Installation and Code Generation
Test Development Learning Exchange
Test Development Learning Exchange
Mar 21, 2024 · Backend Development

Mocking API Responses with Playwright: Success, Errors, Latency, Pagination, and Conditional Logic

This article demonstrates how to use Playwright to mock various API responses—including successful login, dynamic data, network latency, pagination, HTTP errors, redirects, authentication failures, custom headers, not‑found resources, and conditional responses—by defining route handlers that fulfill requests with custom status codes, bodies, and headers.

API mockingAutomationPlaywright
0 likes · 5 min read
Mocking API Responses with Playwright: Success, Errors, Latency, Pagination, and Conditional Logic
Test Development Learning Exchange
Test Development Learning Exchange
Feb 12, 2024 · Frontend Development

Data-Driven Testing with Playwright and openpyxl in Python

This tutorial explains how to perform data‑driven testing by installing Playwright, reading test data from Excel with openpyxl, simulating user actions, and writing reusable unittest test cases that drive browser interactions based on external data.

AutomationData-Driven TestingPlaywright
0 likes · 3 min read
Data-Driven Testing with Playwright and openpyxl in Python
Test Development Learning Exchange
Test Development Learning Exchange
Feb 10, 2024 · Frontend Development

Integrating Playwright with Test Frameworks, CI/CD, and an End‑to‑End Playwright + pytest E‑commerce Example

This article explains how Playwright can be integrated with testing frameworks, CI/CD pipelines, monitoring, logging, build tools, API testing, reporting, and distributed testing, and provides a complete Playwright‑pytest Python example that automates user registration, login, product browsing, ordering and post‑order processes for an e‑commerce site.

Automation TestingFrontend TestingPlaywright
0 likes · 8 min read
Integrating Playwright with Test Frameworks, CI/CD, and an End‑to‑End Playwright + pytest E‑commerce Example
Test Development Learning Exchange
Test Development Learning Exchange
Feb 8, 2024 · Frontend Development

Best Practices for Playwright Testing and Using the Page Object Pattern

This article outlines ten practical testing strategies, demonstrates how to implement the Page Object pattern with Playwright in Python, shows how to adapt to changing page elements, and provides guidance for writing robust test cases that handle boundary conditions, exceptions, and performance challenges.

AutomationPlaywrightPython
0 likes · 6 min read
Best Practices for Playwright Testing and Using the Page Object Pattern
Test Development Learning Exchange
Test Development Learning Exchange
Feb 7, 2024 · Frontend Development

Using Playwright's expect API for Web Page Assertions

This article explains how to use Playwright's expect methods to assert page URL, title, and element visibility, provides Python async code examples for common assertions, and lists the full set of locator‑based expect functions for comprehensive web testing.

AssertionsAutomationPlaywright
0 likes · 5 min read
Using Playwright's expect API for Web Page Assertions
Test Development Learning Exchange
Test Development Learning Exchange
Feb 6, 2024 · Frontend Development

Using Playwright for Browser Automation: Form Submission, File Upload, Screenshots, Navigation, and Page Title Manipulation in Python

This article demonstrates how to use the Playwright Python library to automate browser actions such as submitting forms with file uploads, capturing screenshots, navigating between pages, and retrieving or setting the page title, providing complete code examples for each task.

Form SubmissionPlaywrightPython
0 likes · 7 min read
Using Playwright for Browser Automation: Form Submission, File Upload, Screenshots, Navigation, and Page Title Manipulation in Python