First of all, you have to know what is Selenium? Selenium is a browser-based automated testing tool that provides a cross-platform, cross-browser end-to-end web automation solution. Selenium mainly includes three parts: Selenium IDE, Selenium WebDriver and Selenium Grid. Selenium IDE: An extension of Firefox, it can record and play back, and export the recorded operations […]
Tag: selenium
One article to understand the use of selenium and the installation of various drivers
1. Selenium simulated login Table of Contents Driver Installation Baidu example find node action chain run js get node Switch Frame delay waiting Tab Anti-shield headless mode Previously, requests and other crawling urls are ready-made, and you can request directly, but if you add encrypted parameters, such as token, sign, etc., in addition to js […]
Quick build of selenium test framework (ui automated test)
1. Introduction Selenium is currently the mainstream web automation testing framework; it supports multiple programming languages Java, python, go, js, etc.; selenium provides a series of APIs for us to use, so we need to click a certain button on the page during web testing, then we only need to You need to get the […]
Java+selenium makes web-side automated test code
This was written a long time ago, the code may look a bit messy, just take a look () After all, writing this in java is not mainstream. You need to add two package dependencies to the maven file first Selenium mirror address (https://mvnrepository.com/artifact/org.seleniumhq.selenium/selenium-java) TestNG mirror address (https://mvnrepository.com/artifact/org.testng/testng) The code in the figure is as […]
Software testing/test development丨SeleniumIDE automation use case recording, test case structure analysis
This article is a sharing of learning notes for students of Hogwarts Test Development Society Original link: https://ceshiren.com/t/topic/24832 1. SeleniumIDE use case recording SeleniumIDE use case recording usage scenario Just started UI automation testing Poor team code base After the technology grows, the learning value is not high SeleniumIDE download and installation Official website: https://www.selenium.dev/ […]
[Selenium automated testing] How to locate page elements and how to operate page elements
selenium element positioning There are 8 ways for selenium to locate elements. fild_element(by,value): by indicates the positioning method used, and the positioning method can refer to the By class. value represents the value, for example: locate according to id By.ID, value=value of the id attribute. This method returns the element object, and the return value […]
Selenium operates Google Chrome, the driver uses the latest version 113, and the startup program reports 403 solutions
Recently, I updated Google Chrome to the latest version [113.0.5672.127]. Then our friends who usually type codes or do tests know that our selenium operation driver version must also be upgraded to the corresponding version, otherwise it will not work, but I will update the two versions today. After upgrading to the latest version, the […]
How to use jenkins, ant, selenium, testng to build an automated testing framework
If in your understanding, automated testing is to introduce the webdriver package in eclipse, and then write some test scripts, this is what you call automated testing. In fact, this is not a real automated test. You have seen every time you need to run Do you still need to open eclipse and then choose […]
Selenium actual combat Python+Selenium crawling commodity data
Practical goal: crawl product information, including product title, link, price, and number of reviews. The core of the code lies in these parts: One: use element positioning to obtain the specified keywords that need to be crawled on the page; Second: Permanently store the data located on the page in a local file. Specifically, let’s […]
Use JavaScript+Selenium to play web application automation testing
automated test In the process of software development, testing is a necessary process for functional acceptance. This process is often participated by testers, who write test cases in advance, and then manually test the test cases. After the test cases pass, the function can be considered to pass the acceptance. But There are often associations […]