Automating Browser Tasks with Selenium and ChromeDriver

Environment Setup Browser automation with Selenium requires matching ChromeDriver versions. Open Chrome, click the three-dot menu, then navigate to Help → About Google Chrome to identify the current version. ChromeDriver must be downloaded from the official Chrome for Testing archive. The binary must correspond exactly to your browser version—m ...

Posted on Sun, 02 Aug 2026 16:09:41 +0000 by TwistedLogix

Automating Job Data Extraction from Boss Zhipin Using Selenium

Modern job boards like Boss Zhipin rely heavily on client-side JavaScript rendering and obfuscated API endpoints—often with time-sensitive tokens, signature headers, or encrypted query parameters. Reverse-engineering such interfaces demands deep inspection of network traffic, JS bundle analysis, and frequent maintenance as frontend logic evolve ...

Posted on Mon, 27 Jul 2026 16:31:46 +0000 by fazzfarrell

Scraping Taobao Product Data with Selenium: Anti-Detection Techniques and Implementation

Taobao employs sophisticated anti-bot mechanisms that present significant challenges even for browser automation tools. While functional, the approach outlined here is more educational than practical for large-scale extraction. Prerequisites Google Chrome browser ChromeDriver matching your Chrome version Python 3.x Selenium library (pip instal ...

Posted on Tue, 21 Jul 2026 17:13:54 +0000 by Marijnn

Python Selenium Chrome Configuration with Persistent Cache

Chrome Driver Environment Setup For setting up Chrome driver environment, ensure that the Chrome browser version matches the driver version. This guide assumes Chrome version 120 and its compatible driver. A straightforward method is used, which is verified to work for versions up to 120. Launching Chrome with Persistent Cache Using a cached se ...

Posted on Mon, 20 Jul 2026 16:19:12 +0000 by TheFilmGod

Automating Slider Captcha with Java, Selenium, and OpenCV

Introduction Recently, I was assigned a task to create a web automation script at work. This was my first attempt at writing such a script. While some basic operations were manageable using Selenium alone, automating slider captcha verification proved to be challenging. After combining Selenium with OpenCV, I was able to solve this problem succ ...

Posted on Sat, 18 Jul 2026 16:28:43 +0000 by menriquez

Automated Web Login Testing Without CAPTCHA

Understanding Automated Testing Automated testing refers to the process of converting manual testing activities into machine-executed procedures. Fundamentally, automated testing shares the same objectives as manual testing, with the primary distinction being the context in which each approach excels. Automated testing becomes particularly valu ...

Posted on Thu, 16 Jul 2026 16:00:47 +0000 by gnunoob

Scraping Taobao Model Personal Profiles and Avatar Photos with Python

Many older Python scripts for scraping Taobao model content no longer function due to frequent updates to Taobao’s web pages. This walkthrough uses a refreshed approach to capture profile data and images. 1. Fetch Entry-Level Model Profile Links Start by retrieving top-list model page content and converting card URLs to profile page URLs. Use S ...

Posted on Wed, 15 Jul 2026 17:00:54 +0000 by fewtrem

Explicit vs Implicit Waits in WebDriver

WebDriver provides two primary waiting strategies to handle dynamic content loading: implicit and explicit waits. Implicit Wait An implicit wait is a global setting applied to the WebDriver instance. Once configured, it instructs the driver to poll the DOM for a specified duration (default polling interval is 0.5 seconds) when trying to locate ...

Posted on Sun, 05 Jul 2026 16:31:44 +0000 by deansatch

Handling Shadow DOM Elements in Selenium Automation

Shadow DOM is a web standard that enables encapsulation of markup, styles, and behavior within custom elements. Unlike regular DOM nodes, elements inside a shadow root are not directly accessible via standard Selenium locators (e.g., find_element(By.XPATH, ...)) because they reside in an isolated subtree. This isolation is intentional — it prev ...

Posted on Mon, 29 Jun 2026 17:06:46 +0000 by jami3

Automating Form Submission in Python for Web Crawling Challenges

The challenge requires submitting a form with a username and password (a number under 30) to http://www.heibanke.com/lesson/crawler_ex01/. Here are four implementation approaches: Method 1: Using urllib import urllib import re import sys sys.setdefaultencoding('utf-8') form_data = {'username': 'test_user'} target_url = 'http://www.heibanke.com ...

Posted on Tue, 23 Jun 2026 16:20:41 +0000 by broseph