This tutorial walks through using Selenium to log into Alibaba International, scrape supplier phone numbers and related details across multiple pages, save the data to CSV, download product images, and finally embed those images into an Excel workbook for easy reference.
This guide walks you through analyzing a target e‑commerce site, using Selenium to automate searches, extracting product details across multiple pages, handling pagination, parsing HTML with PyQuery, and persisting the collected data into a MySQL database with robust error handling.
This article demonstrates step‑by‑step how to overcome a website’s anti‑scraping defenses using Selenium with stealth options, retrieve CSS‑based price images, reconstruct the digits, and apply Tesseract OCR to accurately extract numeric data, providing complete Python code snippets throughout.
This guide explains why and how to change HTTP request headers during Selenium WebDriver automation, covering three practical approaches—using REST‑Assured, employing a BrowserMob proxy, and configuring a Firefox extension—complete with code examples and step‑by‑step instructions.
This tutorial explains how to create a Python Selenium script that automatically opens Taobao, logs in via QR code, navigates to the shopping cart, waits for a preset flash‑sale time, selects all items, and completes the checkout process.
This article demonstrates how to employ Python, Selenium, and web‑scraping techniques to log into QQ Space, extract authentication cookies, compute the required g_tk parameter, retrieve the friend list via QQ's API, and automatically detect and blacklist users who have blocked you.
This article walks through a real‑world Python project that uses Selenium to crawl the first ten pages of Taobao snack listings, extracts sales, price and location data, visualizes price distribution and geographic concentration, generates a word‑cloud of top user comments, and lists the top‑selling stores, providing full source code for replication.
This article introduces a Python-based project that demonstrates how to log into and scrape data from 18 major websites—including Facebook, Twitter, Zhihu, and Bilibili—using methods such as Selenium, direct HTTP requests, and cookie management, providing code examples and future improvement plans.
This article walks you through using Python's Selenium library to programmatically retrieve Bilibili video series playlists, explains the required XPath selectors, provides a complete, runnable code example, and addresses common issues such as ChromeDriver compatibility.
This article presents a curated set of 140 software testing interview questions covering topics such as API testing, automation frameworks, performance testing, CI/CD, database operations, Selenium, mobile testing, and related concepts, offering valuable preparation material for candidates.
This article explains the importance of test automation frameworks, outlines various framework types such as tool‑centric, project‑specific, and keyword‑driven, details essential components like test libraries and CI integration, and provides practical guidance for building and maintaining effective automation solutions.
This tutorial walks you through using Python Selenium to automate QQ Music, scroll through the infinite‑scroll comment section, extract user avatars, names, timestamps and comment text, save the data to CSV, and finally visualize the comments with a word‑cloud image.
This article surveys the popularity of Java, outlines the benefits of using Java testing frameworks, and provides detailed overviews of nine leading frameworks—including JUnit, JBehave, Serenity, Selenium, TestNG, Mockito, HTTPUnit, Gauge, and Geb—highlighting their core features and suitability for different testing needs.
This tutorial walks through using Python's Selenium to automate scrolling and extract QQ Music hot comment data—including user avatars, names, timestamps, and content—then saves the information to CSV and creates a Chinese word cloud for visual analysis.
This guide explains Selenium 4's deprecation of DesiredCapabilities, shows how to use Options for Chrome, Firefox, IE and Safari, demonstrates the updated Actions API for clicks, double‑clicks, right‑clicks and drag‑and‑drop, and details the FluentWait syntax changes with code examples.
This guide explains how to download Selenium 4 alpha‑7 for various languages and shows step‑by‑step updates for Maven pom.xml and Gradle build.gradle files, including necessary dependencies and a complete demo configuration for Java test automation.
This article introduces Selenium 4's major enhancements—including W3C standardization, an upgraded IDE, a unified Grid architecture, native Chrome DevTools support, relative locators, and additional APIs—while comparing them to Selenium 3 and providing practical usage examples.
Learn how to automate a web-based Sudoku game using Python's Selenium for data extraction, implement an efficient backtracking and bitwise algorithm to solve the puzzle, and programmatically fill the solution back into the browser, achieving performance improvements from 17 seconds to just over 3 seconds.
This tutorial walks you through installing Selenium and ChromeDriver, configuring the environment, and using Python code to automatically navigate Dangdang's bestseller pages, extract book details with pyquery, and save the results into a CSV file for further analysis.
This article discusses implementing event tracking in mobile applications using Kotlin, including creating extension methods for cleaner code, handling third-party platform limitations with Selenium, and sharing practical experiences from multiple project versions.
This article explains the main captcha varieties—input, sliding, grid, and click‑based—and provides step‑by‑step Python solutions using OCR libraries, image preprocessing, and Selenium automation to bypass them effectively.
This article demonstrates how websites can detect browsers driven by Selenium or Puppeteer, walks through experiments using bot.sannysoft.com, shows screenshots of detected features in both headed and headless modes, and explains why such tools often fail to evade detection.
This article outlines a comprehensive seven‑stage test automation strategy, covering planning, method selection, tool choice, environment setup, script design, execution, and result analysis, while offering practical tips for each phase to boost efficiency and reliability.
This article introduces seven powerful Python tools—including Pandas, Selenium, Flask, Scrapy, Requests, Faker, and Pillow—explaining their core features and providing ready-to-use code snippets to help developers automate data analysis, testing, web development, crawling, API calls, fake data generation, and image processing.
Learn step-by-step how to use Python's Selenium library to automate login, scroll through QQ Space, extract historical posts and download album photos, including driver setup, code snippets for login, shuoshuo retrieval, and photo downloading, enabling you to preserve nostalgic content.
This article describes a Selenium‑based automated testing solution that randomly assembles ad landing page components, captures before‑and‑after screenshots, and evaluates visual similarity using histogram and dHash algorithms to ensure "what you see is what you get" across thousands of component combinations.
This guide demonstrates how to use Python's Selenium library to log into a GPS web system, locate elements via name and XPath, handle iframes, click list items, and extract dynamic data, including detailed installation steps for Selenium and ChromeDriver.
This article walks through building a Python web crawler that extracts forum post comments into MongoDB, covering project goals, environment setup, site structure analysis, Scrapy and Selenium integration, data storage design, handling anti‑scraping measures, and performance optimization with multithreading.
The article explains how designing atomic automation test cases—each focusing on a single function with minimal UI interaction—provides precise feedback, shortens test chains, improves coverage, enables parallel execution, and offers practical strategies for data injection and handling non‑testable applications.
The article analyzes the key obstacles faced by software testing teams when working remotely—such as communication gaps, collaboration hurdles, technical failures, and documentation issues—and proposes practical solutions including video calls, automated regression testing, test‑driven development, and Selenium‑based tools.
This tutorial demonstrates how to create a Python web scraper using Selenium and BeautifulSoup, covering login automation, HTML retrieval, parsing with html5lib, data extraction from tables, and strategies for handling anti‑scraping measures such as headless browsing and proxy usage.
This article introduces Python’s built‑in unittest framework, explains its core concepts such as test cases, fixtures, suites and runners, demonstrates common assertion methods, and provides a step‑by‑step Selenium example for testing a webmail login flow.
This article explains the distinction between selenium‑webdriver and browser drivers, introduces HTML basics and element attributes, and details Selenium's element‑locating APIs with practical examples of XPath and CSS selector strategies for UI automation.
This article examines why teams moving from waterfall to agile need automated regression testing, compares building a custom Selenium framework with adopting a no‑code solution, and outlines the practical considerations of cost, maintenance, integration, reporting, and team skill development.
This guide walks you through everything needed to start automating web tests with Selenium, covering required tools, browser choices, Python installation, driver setup, essential plugins like FireBug, IDE options, and a sample script to launch Firefox and open a webpage.
This article describes how JD.com implements an automated system to monitor Android channel packages across multiple app stores, using a PHP/CodeIgniter front‑end, Java services with Selenium, Walle for channel information extraction, and email notifications to ensure correct package release and reduce economic loss.
This article compares UiPath Test Suite and Selenium, outlining their core features, component structures, and strengths, and concludes that UiPath offers broader automation capabilities, lower coding requirements, and higher efficiency for both web and mobile testing scenarios.
The article explains how automated testing—using Python‑based UI and API frameworks, configurable test‑data generation, Linux headless execution, and Jenkins continuous integration—addresses the growing complexity of software releases by reducing manual regression effort and improving defect detection speed.
This article provides a comprehensive overview of the most common Selenium WebDriver exceptions, categorizes them into checked and unchecked types, details language‑specific variants for Java, C# and Python, and offers practical guidance on diagnosing and handling each exception during automated browser testing.
This tutorial walks through using Selenium to handle pop‑ups and simple numeric captchas on a web portal, captures the captcha image, applies binary thresholding, recognizes the text with Tesseract OCR, and then submits the login credentials, including retry logic for failed recognitions.
The article examines when to choose code‑based versus no‑code test automation, outlining key factors such as use cases, team skills, CI/CD integration, cost, scalability, and maintenance, and concludes that combining both approaches often yields the best results.
This article explains why waiting is essential in Selenium automation, compares Thread.sleep with implicit, explicit, and fluent waits, provides detailed Java code examples for each approach, and highlights best‑practice recommendations for reliable web element interaction.
With Selenium IDE 4, testers can overcome flaky UI tests caused by locator changes by recording multiple element selectors, and can also script complex scenarios using built‑in loop and conditional commands, making automated testing more robust and flexible.
Using Python Selenium, the author collected 4,403 Taobao listings for men's shorts, cleaned the data, visualized regional sales, price distribution, top shops, and product characteristics, ultimately identifying the best-selling items and revealing market trends.
This article presents comprehensive Selenium automation best practices, covering the importance of learning testing techniques, distinguishing manual and automated test cases, handling unstable features, creating high‑quality test data, reducing maintenance, extending test coverage, avoiding excessive UI automation, and ensuring fast feedback for reliable software delivery.
This article describes a Python‑based approach that identifies and eliminates WeChat group members who repeatedly post advertisements by defining heuristic rules, capturing screen coordinates with the pynput library, simulating mouse‑clicks and keyboard shortcuts, and processing the extracted data to flag suspicious accounts.
This guide explains how to identify suitable test scenarios for Selenium automation, select the right tools and team structure, eliminate flaky tests, and ensure ongoing effectiveness by aligning automation choices with business goals and technical constraints.
This article presents practical Selenium automation best practices—including early and frequent testing, BDD adoption, proper wait strategies, reporting, PageObject usage, automatic screenshots, test design, and mindful tool reliance—to help engineers achieve stable, efficient web test suites.
This article demonstrates a step‑by‑step Python Selenium solution for completely automating Taobao login, covering dependency setup, class design, handling the sliding captcha, and alternative login via Sina Weibo, complete with full source code and usage instructions.
UI testing ensures that a website’s interface functions correctly and delivers a smooth user experience, covering manual and automated approaches, cross‑browser compatibility, exploratory and scripted techniques, and performance considerations, illustrated with real‑world ticket‑booking examples and practical Selenium automation benefits.
The article explores the emerging trends of Selenium 4 IDE, highlighting its no‑code automation capabilities, new features, open‑source availability, and the SIDE Runner tool for parallel browser testing, including installation commands and usage examples.
This tutorial explains how to build a Python web scraper using Selenium and Beautiful Soup, covering setup, login automation, HTML extraction, data parsing with html5lib, handling anti‑scraping measures, and best practices for large‑scale data collection.
This article examines the most common Selenium automation hurdles—including false‑positive results, waiting for JavaScript loading, scalability, dynamic content, pop‑up alerts, window switching, mobile testing limitations, incomplete automation, and reporting—while offering practical Python‑based solutions and code examples to improve test stability and efficiency.
The article examines the hidden costs of traditional Selenium scripting, explains how no‑code Selenium platforms simplify test creation, improve maintainability with AI‑driven self‑healing, streamline execution through built‑in CI/CD integration, and outlines scenarios where native Selenium remains preferable.
The article explains how to reduce the impact of frequent UI changes on automated testing by using visual testing techniques, introduces the Watcher platform’s SDK, image‑comparison services, real‑time comparison, and various algorithms—including pixel, template, content, and AI‑based matching—to improve test stability and efficiency.
This guide outlines why manual testing can’t fully replace automation, then walks you through seven concrete steps—including data preparation, API testing, and web UI automation using tools like MySQL, Redis, SOAP UI, Postman, and Selenium with Java or Python—to become a proficient automation test engineer.
This article outlines a comprehensive roadmap for establishing a test automation framework, highlights key aspects such as exploratory testing, user experience, accessibility, dynamic content, and offers best practices for test case design, handling slow or failing tests, and maintaining reliable automated suites.
This article outlines practical strategies for maintaining Selenium test automation, including keeping test cases simple, encouraging developer involvement, defining execution strategies, improving test stability, focusing on high‑return‑on‑investment scenarios, and using cloud services for efficient cross‑browser compatibility testing.
When web applications become highly dynamic, traditional Selenium locators become fragile and costly to maintain, but leveraging AI and machine‑learning‑based object‑recognition frameworks can dramatically reduce maintenance overhead and accelerate test creation by intelligently adapting to UI changes.
This article explains why Selenium test automation requires ongoing maintenance, outlines the two main maintenance scenarios—test failures and dependency changes—and provides practical guidance for developers and testers to efficiently support and sustain automated testing in agile environments.
This article outlines essential best practices for implementing parallel testing with Selenium, including creating independent test cases, leveraging cloud‑based Selenium Grid, avoiding test dependencies, efficiently managing test data, and designing parallel test cases to improve speed, reliability, and scalability of web automation.
This article explains why and how to implement parallel testing with Selenium, illustrating the massive time savings, broader test coverage, cost benefits, and integration with continuous integration pipelines through practical examples and step‑by‑step guidelines.
This article explains why functional test automation is essential for modern agile and DevOps teams, outlines how to calculate its return on investment, and provides a detailed roadmap of testing strategies, team composition, and maintenance practices to reduce costs and improve software quality.
This article provides a comprehensive step‑by‑step guide to installing Scrapy, understanding its core components and processing flow, creating a weather‑data crawling project, writing items, settings, middlewares, spiders, running the crawler, exporting results, and storing the scraped data into MongoDB.
This tutorial walks you through creating a desktop Python chatbot using the Turing API, covering required libraries, authentication, code implementation for both basic and Selenium‑enhanced versions, and packaging the final program into an executable.
This article offers practical guidance for maintaining productivity while working from home during the pandemic, covering distraction‑reduction habits, cloud‑based Selenium testing, communication tools, stable network setup, mental‑health strategies, task planning, continuous learning, and physical well‑being.
This article explains how to automate the extraction and recognition of Weibo's four‑grid hand‑drawn captcha by enumerating all 24 possible patterns, capturing the captcha image with Selenium, and performing template matching using pixel‑wise comparison in Python.
This article explains the importance of UI testing, distinguishes it from GUI testing, compares manual and automated approaches—including Selenium benefits—and outlines key techniques such as exploratory, scripted, and user‑experience testing, while highlighting cross‑browser and performance considerations.
This article explains the challenges of validating test cases in production environments, especially for cross‑browser scenarios, and outlines practical strategies—including Selenium Grid automation, blue‑green, canary, and A/B testing—to ensure reliable, efficient production testing.
This guide explains four practical methods—using a known cookie, simulating login with urllib or requests, maintaining a session, and employing a headless Selenium browser—to programmatically retrieve pages that require user authentication, complete with step‑by‑step instructions and code examples.
This page provides a curated collection of Chinese articles covering unit testing, white‑box testing, testing frameworks such as Spock, JUnit, Selenium, performance testing, and related technical and non‑code topics for software developers and testers.
This article demonstrates how to enhance Selenium web‑scraping scripts by using JavaScript to directly modify date picker values and to automatically scroll dynamic pages, providing concise code examples that overcome common challenges when crawling sites like 12306 and Tencent Video.
This collection provides a curated set of Chinese and English resources covering unit testing frameworks like Spock, JUnit, Selenium, performance testing tools, API testing, and related non‑technical articles, offering developers comprehensive guidance for software testing practices.
This article outlines the most frequent mistakes beginners make in test automation—from automating unnecessary modules and poorly defining scope to choosing the wrong tools, neglecting communication, ignoring ROI, over‑relying on open‑source projects, and trusting no‑code solutions—offering practical guidance to help avoid costly errors.
This article walks you through using the 2Captcha service and Python to solve Google ReCaptcha challenges, covering account setup, locating the data‑sitekey, sending requests to 2Captcha, handling the response, modifying hidden form fields, and automating the whole process with Selenium.
This tutorial demonstrates how to use Selenium with Python for explicit waits, page scrolling, zooming via CSS transforms, retrieving element size and coordinates, disabling JavaScript through Firefox profiles, and configuring manual proxy settings, providing complete code examples for each technique.
This article provides a step‑by‑step guide for automating cross‑browser web tests using Selenium with Python, covering fixture setup, CSS and XPath selectors, handling dropdowns, checkboxes, mouse hover actions, tab management, and extracting page source, all illustrated with complete code examples.
This tutorial walks through essential Selenium WebDriver techniques in Python, covering driver path configuration, capturing full and partial screenshots, page refresh methods, opening new tabs, cropping images with Pillow, executing JavaScript, and retrieving script results, all with clear code examples.
Automated testing transforms manual, human‑driven test procedures into machine‑executed processes, and Selenium—a comprehensive suite of tools for web browser automation—enables remote control of browsers to simulate user actions such as typing, clicking, selecting, and executing JavaScript, primarily supporting front‑end testing.
This article outlines practical strategies—including parallel execution, cloud‑based testing, staged testing, robust test scripts, compatibility matrices, browser‑difference awareness, crowdsourced resources, market‑share analysis, automated screenshot capture, and early localization checks—to overcome the challenges of cross‑browser testing for web applications.
The guide explains automated testing fundamentals, classifications, and current platform implementations—covering unit, interface, and UI testing on PC, Android, and iOS—while detailing data‑driven and keyword‑driven approaches and forecasting AI‑powered visual and functional testing using deep‑learning frameworks.
This tutorial walks you through using Selenium to automatically log into the Chouti website, extract authentication cookies, and programmatically send upvote requests, complete with preparation steps, mechanism explanation, code snippets, and visual results.
This tutorial explains how to use Selenium's built‑in PageFactory to implement the Page Object pattern, defines a TodoMVC API, provides JUnit 5 test examples, shows a concrete Page implementation with @FindBy annotations, discusses additional locator annotations, element lookup timing, and demonstrates running the tests from the command line.
This tutorial explains how to prepare a Java development environment, create a Gradle project, configure JUnit 5 and Selenium Jupiter, write a basic Selenium WebDriver test, and run the test using Gradle Wrapper, providing all required tools and code examples.
This guide explains practical techniques to avoid IP bans and 403 errors when web‑scraping, covering explicit and implicit waiting, User‑Agent spoofing, proxy usage, IP pools, and distributed crawling architectures.
The article reviews Selenium 4.0 Alpha, explaining why the release matters for test automation, detailing major updates such as W3C WebDriver standardization, the revamped Selenium IDE, an easier‑to‑use Grid, enhanced observability, and refreshed documentation, and highlights the impact on both code‑centric and no‑code testing workflows.
This guide explains how to set up a headless Chrome environment on Linux, install Selenium and html2canvas, inject JavaScript to capture arbitrary DOM elements as images, retrieve the base64 data, and optionally package the whole workflow into a Docker container for reproducible deployment.
This article compares four popular Java testing frameworks—JUnit, JBehave, Selenide, and Spock—examining their prerequisites, strengths, weaknesses, and ideal use cases when integrated with Selenium WebDriver for UI and BDD testing.
This guide explains how to evaluate the return on investment of Selenium‑based cross‑browser test automation by defining key metrics, outlining calculation formulas, discussing common pitfalls, and offering practical steps to maximize efficiency, coverage, and risk reduction.
This article explains how JUnit assertions—such as assertEquals, assertTrue, assertFalse, assertNull, and the newer assertAll and assertThrows—are used in Selenium automation to verify test outcomes, differentiate hard and soft assertions, and compare JUnit 4 and JUnit 5 features.
This guide outlines the essential programming knowledge, manual testing insight, automation tool expertise, business‑domain understanding, troubleshooting tactics, test‑management experience, and development‑methodology awareness required for automation testers to thrive in modern Agile and DevOps environments.
This article explains how to use Java HttpClient to call a login API, retrieve authentication cookies, and programmatically inject them into a Selenium WebDriver session, enabling automated tests to run in a logged‑in state without manual UI login.
This article demonstrates how to use Selenium and Python to crawl over 6,000 Chinese tourist attractions from Qunar, extract ratings, popularity and sales data, and visualize the results with pandas, seaborn, matplotlib, and pyecharts, revealing the most visited sites and regional travel trends during the 2019 National Day holiday.
When repeatedly performing Selenium actions causes the page to refresh slowly and occasional save errors, a custom forced‑refresh method using Ctrl+F5 and low‑level key events can reliably clear the cache and keep the automation stable.
This tutorial shows how to use Java and Selenium WebDriver to programmatically add a high‑school record with random scores and rankings, streamlining pagination testing by generating the required data automatically instead of entering each entry manually.
This article provides a detailed Selenium‑Java script for automating the creation of formal and live courses, covering element selection, date‑time handling, file uploads, random live‑room assignment, and crucial conditional checks, complemented by screenshots of the UI dialogs.
This article provides a detailed Java Selenium script that navigates a backend admin list, locates a specific course by ID, handles pagination and status checks, and programmatically sets the flash‑sale price using JavaScript interactions.
The author shares a Java Selenium program that navigates the Neihanshequ website, extracts jokes, stores them in a list, and writes the collected data to an Excel file, while also discussing challenges such as content approval and rate‑limit restrictions.