Tag

xpath

0 views collected around this technical thread.

Python Programming Learning Circle
Python Programming Learning Circle
Apr 26, 2025 · Operations

Handling Non‑Select Dropdowns, Dynamic IDs, and File Uploads with Selenium Python

This article demonstrates how to automate non‑select dropdowns that allow or disallow text input, locate elements with dynamic IDs or without unique attributes using XPath, overcome click‑obstruction with JavaScript, and upload files via pywinauto when standard input elements are unavailable, all with Python Selenium code examples.

File Uploadwebdriverxpath
0 likes · 7 min read
Handling Non‑Select Dropdowns, Dynamic IDs, and File Uploads with Selenium Python
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
Jun 17, 2023 · Frontend Development

Building a Smart XPath Helper Chrome Extension with Python and JavaScript

This tutorial explains how to develop a Chrome extension that assists developers in locating web page elements and generating XPath expressions by outlining the plugin's structure, providing complete configuration files, JavaScript code, HTML/CSS UI, and step‑by‑step instructions for loading and testing the extension.

JavaScriptPythonfrontend
0 likes · 7 min read
Building a Smart XPath Helper Chrome Extension with Python and JavaScript
php中文网 Courses
php中文网 Courses
May 4, 2023 · Backend Development

How to Write a Simple PHP Web Crawler

This guide explains how to create a basic PHP web crawler by using cURL to fetch pages, DOMDocument and XPath to parse HTML, and then storing the extracted data, while also providing a complete example script and reminders about legal and ethical considerations.

DOMDocumentPHPbackend development
0 likes · 3 min read
How to Write a Simple PHP Web Crawler
Python Programming Learning Circle
Python Programming Learning Circle
Jul 13, 2022 · Backend Development

Comprehensive Scrapy Tutorial: Architecture, XPath Basics, Installation, Project Setup, and Advanced Features

This article provides a detailed walkthrough of Scrapy, covering its event‑driven architecture, component interactions, XPath parsing fundamentals, installation steps, project creation, sample spider code, item pipelines, middleware customization, and essential configuration settings for effective web crawling in Python.

PythonScrapymiddleware
0 likes · 12 min read
Comprehensive Scrapy Tutorial: Architecture, XPath Basics, Installation, Project Setup, and Advanced Features
Python Programming Learning Circle
Python Programming Learning Circle
Mar 8, 2022 · Backend Development

XPath Basics and Web Scraping with Python lxml: Concepts, Syntax, and Practical Examples

This tutorial explains the fundamental concepts and parsing principles of XPath, shows how to set up the Python lxml environment, demonstrates instantiating etree objects, details XPath expression syntax, and provides multiple real‑world web‑scraping examples with complete code snippets.

HTML parsingWeb Scrapinglxml
0 likes · 9 min read
XPath Basics and Web Scraping with Python lxml: Concepts, Syntax, and Practical Examples
Python Programming Learning Circle
Python Programming Learning Circle
Dec 14, 2021 · Backend Development

Python Web Scraping of China Weather Forecast (7‑Day) Using Requests, lxml, and CSV Export

This tutorial shows how to crawl the China Meteorological Administration website to obtain today's weather and a six‑day forecast, handle Chinese encoding, extract data with XPath, and save the results into a CSV file using Python's requests and lxml libraries.

CSVPythonRequests
0 likes · 5 min read
Python Web Scraping of China Weather Forecast (7‑Day) Using Requests, lxml, and CSV Export
Python Programming Learning Circle
Python Programming Learning Circle
Apr 7, 2021 · Backend Development

Automating Login and Data Extraction from a GPS Web System with Selenium

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.

Data ExtractionPythonSelenium
0 likes · 5 min read
Automating Login and Data Extraction from a GPS Web System with Selenium
Python Programming Learning Circle
Python Programming Learning Circle
Dec 19, 2020 · Fundamentals

XPath Basics and lxml Usage in Python

This article introduces the fundamentals of XPath syntax, common rules, and example expressions, then explains how to use the lxml library in Python for HTML/XML parsing, including practical tips and a complete code example for extracting links and text from a sample document.

PythonWeb ScrapingXML
0 likes · 6 min read
XPath Basics and lxml Usage in Python
Python Programming Learning Circle
Python Programming Learning Circle
Jan 7, 2020 · Backend Development

Master Python Web Scraping: From urllib to Scrapy with Real-World Examples

This comprehensive guide walks you through Python web crawling fundamentals, covering request handling, URL encoding, regular expressions, the requests library, XPath parsing, and lxml, complete with code snippets and practical examples to help you build effective scrapers.

RequestsWeb Scrapinglxml
0 likes · 13 min read
Master Python Web Scraping: From urllib to Scrapy with Real-World Examples
Python Programming Learning Circle
Python Programming Learning Circle
Dec 26, 2019 · Backend Development

Master Web Crawling with Python: From Requests to XPath Extraction

This guide walks you through the fundamentals of building a web crawler in Python, covering how to fetch pages with the Requests library, extract data using regular expressions and XPath, and provides practical code examples for each step.

Data ExtractionRequestsregex
0 likes · 9 min read
Master Web Crawling with Python: From Requests to XPath Extraction
360 Quality & Efficiency
360 Quality & Efficiency
May 16, 2016 · Fundamentals

Creating Custom PMD Rules with Java and XPath

This tutorial walks through preparing the PMD environment, exploring its directory structure, and step‑by‑step instructions for implementing a custom rule—such as enforcing braces on while loops—using both Java code and XPath expressions, including packaging and execution details.

Custom RuleJavaPMD
0 likes · 10 min read
Creating Custom PMD Rules with Java and XPath