[2020-09-24] Zhihu simulated login -- selenium

Disclaimer: This article is only for study and research. It is prohibited to use it for illegal purposes. Otherwise, the consequences will be at your own risk. If there is any infringement, please inform and delete it, thank you! Project scene: This time I bring you the selenium automatic login of Zhihu, using the qq authorized login entran ...

Posted by navarre on Sat, 14 May 2022 19:44:23 +0300

Python Selenium simple crawling tiger teeth live barrage (learning only)

preface In the second week of learning python, record the learning process here: There is a demand this time. Due to the video clip of the anchor, but the barrage thermal flow provided by Tiger tooth is very insensitive in the long time axis, so it is difficult to quickly find hot spots in the 6-hour recording and broadcasting. Therefor ...

Posted by chintupintu03 on Tue, 26 Apr 2022 22:22:28 +0300

Technology sharing | Selenium test case writing

This article is excerpted from the internal textbook of Hogwarts testing and development society Writing Selenium test cases is to simulate a series of operations of users on the browser and complete automatic testing through scripts. Advantages of writing test cases: Open source, free. Support multiple browsers IE, Firefox, Chrome and Safari ...

Posted by hori76 on Wed, 20 Apr 2022 06:53:06 +0300

selenium check box (select box)

At the front end, there is a kind of check box whose selection box is of type select. For this kind of check box, we need to use the select class in python. To use the select class, you need to import: from selenium webdriver. support. ui import Select Let's take a look at the Select class: class Select(object): def __init__(self, webelem ...

Posted by ichversuchte on Tue, 05 Apr 2022 01:18:49 +0300

Crawler project 6: use Python to climb down the chain of new houses, and nearly 30000 data in all cities

preface This paper comprehensively analyzes the new housing source data of Lianjia and crawls the housing source information of all cities, with a total of 26000 data Tip: the following is the main content of this article. The following cases can be used for reference 1, Analyze url The composition of this url is very simple. https: ...

Posted by wwfc_barmy_army on Thu, 31 Mar 2022 05:45:04 +0300

Summary of selenium python operation instructions

1. Open Web Page driver.get("https://selenium.dev") 2. Get the current web address driver.current_url 3. Click the browser Back button driver.back() 4. Click the browser forward button driver.forward() 5. Refresh the current page driver.refresh() 6. Get the title of the web page driver.title 7. Get window handle WebDriver does not ...

Posted by radhoo on Sun, 27 Mar 2022 20:17:53 +0300