Use selenium+chromedriver+xpath to crawl dynamically loaded information
Use selenium+chromedriver+xpath to crawl dynamically loaded information
Use selenium to crawl dynamically rendered pages. Selenium is a browser automation testing framework and a tool for Web application testing. It can run directly in the browser and drive the browser to perform specified actions, such as click, drop-down, fill in data, del ...
Added by dujed on Fri, 11 Feb 2022 13:56:32 +0200
web of automated testing - Fundamentals
1, Environmental preparation
1.1 drive installation
The plug-in and operation file used in this article: extract password: 02q3 Baidu cloud
1.1.1 chrome driver
Download address: click here Under Windows system, pay attention to the correspondence between the version of chrome browser and the version of chromedriver Exe is copied to the ...
Added by marian on Mon, 07 Feb 2022 14:46:57 +0200
Free crack image verification code (digital or mixed Chinese and English) (with code) (2022) (verification code 2)
preface
Corresponding blog posts: Click here to jump to get more information about this article
There is a Google verification code in front. Now let's crack the relatively simple image verification code. (digital and mixed Chinese and English)
Plug in verification code
Google plugin needs to be loaded AutoVerify
This recognition is a simp ...
Added by Impius on Sun, 06 Feb 2022 10:06:12 +0200
AWS crawling price
Last month, my tutor asked me to be a little crawler to share the process
requirement analysis
Destination url: AWS Fargate price - serverless container service - AWS cloud service (amazon.com)
You need to crawl the price of Fragate Spot in the web page, but the price is different in different regions, and the price will change every ...
Added by antray on Thu, 03 Feb 2022 07:14:06 +0200
selenium sends QQ automatically and regularly (super simple, super detailed)
Automatic timing transmission through selenium
Look at the overall code more. In fact, it's not much or difficult. It's just that I have a lot of code comments (my habit).
Sorry, the content of the article may be a little too much. In fact, I spend more time writing blog than writing code!
Let me be long winded. First use the trumpe ...
Added by miked2 on Wed, 02 Feb 2022 23:52:12 +0200
Personal notes about selenium
I location
1.xpath positioning
If an attribute cannot uniquely distinguish an element, we can also use logical operators to connect multiple attributes to find elements
<input id="kw" class="su" name="ie">
<input id="kw" class="aa" name="ie">
<input id="bb" class="su" name="ie">
Here, if id is used to locate, the elem ...
Added by runeveryday on Sat, 29 Jan 2022 17:52:21 +0200
Selenium usage experience
In the automated test, Selenium is still simple and easy to learn. In order to help her girlfriend do a repetitive work, just as she was learning, she tried to help her do it first. At the beginning, she just touched the stone and crossed the river to gain experience in practice. She turned over her book on automated testing and learned some ba ...
Added by miltonos on Sat, 29 Jan 2022 10:31:33 +0200
Three switching modes in selenium & three waiting modes
preface
ui automatic testing is to simulate manual operation through code, and operate browser pages by clicking, dragging and inputting. Our commonly used web automatic testing tool is selenium; At the same time, in our daily operation, we need to create links, load pages, switch windows and other situations, but the execution of the code is ...
Added by aussie_clint on Fri, 21 Jan 2022 00:41:41 +0200
selenium web page automatically logs in and clocks in
preface
In the front, I made a small program of automatic clock in, which can basically realize the tasks of checking in and checking out after work, and white whored CSDN server as the basis of data sending and receiving. While continuing to optimize functions, small pits in the use of selenium are solved.
Locate and switch frame (if ...
Added by chordsoflife on Thu, 20 Jan 2022 20:30:18 +0200
Network security is based on the sketch framework and selenium and openpyxl libraries to crawl the epidemic statistics and summary information of foreign countries
Network security is based on the sketch framework and selenium and openpyxl libraries to crawl the epidemic statistics and summary information of foreign countries
data sources https://voice.baidu.com/act/newpneumonia/newpneumonia/
thinking Because the data in the target page is dynamically loaded, the response obtained by directly initiatin ...
Added by visionmaster on Sun, 16 Jan 2022 10:08:54 +0200