selenium+python for web-side automated test framework and case-based detailed tutorial

Recently suffered a 10,000-point attack, due to problems in the company's business, less heavy work tasks, time to explore selenium+python automated testing, combined with the information found on the Internet to write their own framework for web automated testing, as I am also just beginning to learn python, this automation framework has been ...

Posted on Wed, 08 Apr 2020 20:10:11 -0700 by adnan1983

My eight brothers learn from Selenium(3): how to operate check box / radio box

Check box and radio box are two controls that are often used in Web sites. How to use Selenium to operate these two controls in web automation testing? Today, let's have a brief introduction practice! The html test page code is as follows: <html> <head> <meta http-equiv="content-type" content="text/html;charset=utf-8" /> ...

Posted on Sat, 04 Apr 2020 15:15:11 -0700 by coolex

Python web crawler notes (4): using selenium to get dynamically loaded content

(1) Description In the previous article, only one page of data can be downloaded. The data on pages 2, 3, 4.... 100 cannot be obtained. Based on the previous article, modify it and use selenium to get the value of the href attribute of all pages. Using selenium to simulate a browser is a bit cumbersome. For example, 300 pages are important 300 ...

Posted on Sat, 04 Apr 2020 11:50:00 -0700 by raffael3d

Making a summary of the problem of Zhihu sand sculpture with Python

Squirrels love biscuits 2020-04-01 13:40     Preface The text and pictures of this article are from the Internet, only for learning and communication, not for any commercial purpose. The copyright belongs to the original author. If you have any questions, please contact us in time for handling. Author: Data Senlin PS: if you need Python ...

Posted on Wed, 01 Apr 2020 16:20:00 -0700 by linuxdream

Python 3 reptile (14) verification code processing

 Infi-chu: http://www.cnblogs.com/Infi-chu/ 1, Graphic verification code identification1. Use tesserocr import tesserocr from PIL import Image # Store a picture of verification code locally for testingimage = Image.open('test.jpg')result = tesserocr.image_to_text(image)print(result) # Convert text directly to stringimport tesserocrprint(tesser ...

Posted on Fri, 20 Mar 2020 11:00:25 -0700 by madspoihur

python JD sliding verification code type 2 code, type 1 low probability pass

When python beginners challenge JD's slide verification code at the beginning, it's a bit difficult. I've also studied it for a long time. It's not only the problem of pictures but also the problem of codes. There are also various problems that beginners encounter (all of which can make people tangle fo ...

Posted on Tue, 10 Mar 2020 02:37:08 -0700 by gudfry

You can't imagine how easy it is to implement a Python+Selenium automated testing framework!

First of all, what do you need to know about Selenium? Selenium is a browser based automation testing tool, which provides a cross platform, cross browser end-to-end web automation solution. Selenium mainly consists of three parts: Selenium IDE, Selenium WebDriver and Selenium Grid. Selenium IDE: an extension of Firefox ...

Posted on Thu, 05 Mar 2020 00:06:53 -0800 by daphreeek

Topic of the 2020 Pyton Developer Online Technology Summit: Technology Implementation of the Crawler Framework and Experience Sharing with Module Applications

Article Directory 1. Preface 2. Some of the concepts we must know about Crawlers 2.1 Definition of a crawl 2.2 Legal risk of Crawlers 2.3 Understanding crawl types from crawl scenarios 2.4 Basic techniques and crawl framework for Crawlers 3. Data Grabbing Technology 3.1 Tencent NPC epidemic data d ...

Posted on Wed, 12 Feb 2020 18:00:13 -0800 by jumphopper

Data mining practice of financial websites

Article directory 1. real time data mining of sina finance stock 2. Dongfang fortune data mining 3. The actual battle of data mining in referee document network 4. Data mining of cninfo 1. Sina Financial Stock real-time data mining The previous post introduced the use of Selenium The code is as ...

Posted on Sat, 08 Feb 2020 05:19:04 -0800 by border20

Selenium Python Usage Tips

Book above and above: Selenium Python Usage Skills (1) Selenium Python Usage Skills (2) Handle waiting in different situations In elenium automated tests, a Web page may take some time to load, or you may want to see specific Web elements on the page before triggering the test code.In this case, you need to execute Explicit Wait, which is a p ...

Posted on Fri, 07 Feb 2020 17:54:40 -0800 by Dillenger