Selenium 3 + Python 3 Automated Testing Series 11 - Window Screenshots and Closing Browsers

Screenshots of windows Automated use cases are executed by programs, so sometimes the error messages printed are not very clear. If you can save the screenshot of the current window when the script is executed incorrectly, you can see the cause of the error very intuitively through the picture. WebDriver provides four methods to intercept the ...

Posted by dupreelove on Thu, 29 Aug 2019 04:41:53 -0700

selenium control tor browser

(Technology is just my own blind research, nothing else has to do with me!) * Introduction to tor Tor is a browser, and its core is Firefox, but it's different from the normal one. The most important function of tor is that it can realize multiple co ...

Posted by Ice on Thu, 22 Aug 2019 02:33:33 -0700

python analysis knows about fan data

Yesterday it took an afternoon to write a little reptile to analyze its fan data. This is fun! Today, I helped a lot of big V s in the group to climb their data. Running speed: more than 5,000 fans per minute. For the time being, I have to prepare for the make-up exam these two days, so I don't have time to continue playing with it. Next impr ...

Posted by fredfish666 on Wed, 21 Aug 2019 07:54:48 -0700

Experience Recall (Manual) => Python Version - Docker uses a simple example of selenium

Dockerfile is as follows FROM python RUN pip install -i http://pypi.douban.com/simple \ requests selenium retrying --trusted-host pypi.douban.com docker-compose.yaml reads as follows version: "3.7" services: myspider: build: . volumes: # Data Volume Mapping - /root/mycode:/root/mycode command: python /root/mycode/1.py ...

Posted by DarkJamie on Wed, 14 Aug 2019 00:39:35 -0700

The id, name, class, relative location before the eight elements commonly used in Appium

In fact, the way of locating elements in APP automated testing is basically the same as that in Web automated testing. Whether it is APP or Web automated testing, the most important step is to locate elements. Only when elements are located accurately, can relevant elements be operated. Appium also p ...

Posted by kubis on Sat, 10 Aug 2019 06:23:23 -0700

PO mode - basepa_element.py in the common directory

Let's first look at what common has. basepage_element.py and basepage_elements.py encapsulate keyword-driven, single page element and multiple page elements.config.py Used to judge the environmentcontants.py Read directory structurelog.py Encapsulating log filesuploding.py Packaging Page File Upload Ba ...

Posted by y2kbug on Fri, 26 Jul 2019 00:33:47 -0700

Notes on Building Java Automation Environment

Notes on Building Java Automation Environment (2) automated testing In Note 1, we have completed the development of a key construction project, xml designated planning test set, data decoupling and allure report generation. Next is: Browser driver is started by configuration Page element location decoupling, mapping JavaBean locator ...

Posted by karq on Fri, 19 Jul 2019 21:42:55 -0700

The first bullet in the summer vacation is the result inquiry system of the Dean's Office of Yangtze University based on Django

This article covers the following knowledge points: Python crawler, MySQL database, html/css/js foundation, selenium and phantomjs foundation, MVC design pattern, django framework (Python web development framework), apache server, linux (centos 7 as an example) basic operation. Therefore, it is suitable for students who have the above foundatio ...

Posted by oyse on Mon, 17 Jun 2019 14:11:05 -0700

Using C+Selenium+Chrome Driver to Generate My Running Route Map

First result:       Previously, I used java + Selenium + Chrome Driver in my company's business, which is very handy and can simulate the real user's browsing behavior perfectly. I want to try C # during my recent break, so I have this article. The implementation principle is the same, but it's just changed from java to C#. (ps: Personally, I ...

Posted by scanreg on Sun, 19 May 2019 04:59:44 -0700

OpenCV Makes Tencent Slider Verification Code

Preface CrapSlider verification code cracking is a project that has always wanted to do, after all, most websites will use slider verification code, so recently in the spare time to modify the paper to solve this matter. To make the slider verification code, image processing is the first choice, of course, OpenCV-Python! Of course, my OpenCV is ...

Posted by jennatar on Sat, 18 May 2019 02:29:11 -0700