2020, eight essential Selenium tips for writing automated use cases

When you start automation, you may encounter various methods, technologies, frameworks, and tools that may be included in your automation code. Sometimes, this versatility results in more complex code than providing better flexibility or better ways to solve problems. When writing automated code, it's i ...

Posted by nev25 on Tue, 09 Jun 2020 08:31:59 +0200

chrome + IDM + oil monkey plug-in to realize high-speed download of large files on Baidu online disk

chrome + IDM + oil monkey plug-in realizes the high-speed download of large files on Baidu online disk; this is a very mature technology, with fast download speed and no need to worry about being sealed 1. Download chrome. If you skip it directly, you don't need to read it 2. Download idm software ...

Posted by SquirrelJ on Sun, 07 Jun 2020 11:06:41 +0200

Understanding of offset, curl and visibility

Offset Offset dimension is an important concept in javascript. offsetLeft, offsetTop, offsetHeight and offsetWidth are the four attributes related to offsets. Of course, there is also an offset reference -- positioning the parent offsetParent. This article will introduce this part in detail                 ...

Posted by Helljumper on Sat, 09 May 2020 10:09:11 +0200

Using input input box to achieve nice check box effect (css+jq)

After the completion of the design, it is really a barrier and long QAQ. When using a check box, because it is too ugly to abandon the check box, I made one myself. There is no picture in it, which is implemented by css and jQuery. The final effect can be seen directly without much nonsense: The html element is design ...

Posted by daftdog on Fri, 01 May 2020 08:33:11 +0200

Python data visualization (Pygal, svg, csv, Bar, Line)

1. pygal (chart type Bar) The Python visualization package Pygal will be used to generate scalable vector graphics files Official pygal document: [www.pygal.org/en/stable/]( http://www.pygal.org/en/stable/) 1. Install pygal pip install pygal -i https://pypi.tuna.tsinghua.edu.cn/simple 2. Simple python charts import pygal pygal.Bar()(1, 3, 3, 7 ...

Posted by Ark3typ3 on Sat, 11 Apr 2020 02:22:41 +0200

Deep analysis of Hikic.js lazy loading

This article focuses on the lazy loading method in Hikic.js and how to implement it First, we create a new html file and write the basic structure: <!DOCTYPE> <html> <head> <title>about Hikic.js Depth analysis of lazy loading</title> <meta charset="UTF-8"> </head> <body& ...

Posted by Lustre on Sun, 05 Apr 2020 01:37:58 +0200

Export Excel data based on POI

Export Excel data based on POI There will be many report businesses in the project, which need to export data. Here we use POI based parsing. There are two ways to parse POI: HSSF(xls format) and XSSF(xlsx). Take the waybill management interface of BOS logistics as an example: Front-end code Export Waybill Information and generate report: 1. ...

Posted by rakennedy75 on Sat, 04 Apr 2020 08:38:14 +0200

How to open web page in Python

note: short code implementation environment: win10,python3Code execution of this article python opens the browser method 1: By referencing the os package, calling the system method to call the system ie program to open the web address The code is as follows: import os os.system('"C:/Program Files/Internet Explorer/iexplore.exe" ...

Posted by mushroom on Thu, 02 Apr 2020 17:48:02 +0200

The difference between innerText and innerHtml

Both innerText and innerHtml are text messages between print labels 1. innerText prints plain text information between tags, which filters out the tags. Low versions of Firefox browser do not support textContent. <!doctype html>   <html lang="en">   <head>       <meta charset="UTF-8">       <title ...

Posted by adaykin on Wed, 18 Mar 2020 17:27:50 +0100

ajax provincial and municipal linkage

step 1, page <select name="province" id="p"> <option>===Please select a province===</option> </select> <select name="city" id="c"> <option>===Please select a city===</option> </select> 2,ProvinceServlet *Request this Servlet as soon as the page ...

Posted by putraaridana on Sat, 14 Mar 2020 15:28:06 +0100