selenium study notes

1. Browser operation from selenium import webdriver from selenium.webdriver.common.by import By (1) driver = webdriver.Chrome() #Start the chromedriver service and connect to the chromedriver service Open a browser. Open a session with the browser. (2) Visit website driver.get(“ http://www.baidu.com ”)# first page (3) Maximize wind ...

Posted on Sun, 05 Dec 2021 05:00:11 -0500 by TRB

Front end development: WebP adaptively improves development performance

WebP introductionWebP It is a picture format launched by Google that provides both lossy and lossless compression methods. Its advantages are reflected in its excellent image compression algorithm, which can bring smaller picture volume and higher image quality. According to official instructions, WebP can reduce the volume by 26% compared with ...

Posted on Thu, 25 Nov 2021 15:25:53 -0500 by nubby

Java Proxy Pattern Java adapter pattern

Java adapter pattern The adapter pattern serves as a bridge between two incompatible interfaces. This type of design pattern belongs to structural pattern, which combines the functions of two independent interfaces. This pattern involves a single class that is responsible for adding independent or incompatible interface functions. For a real ...

Posted on Wed, 24 Nov 2021 05:29:34 -0500 by Hieroglyphics

How to integrate front-end static resources into back-end access?

If the front-end resources are separated from the back-end, how to package the front-end resources, integrate them into the back-end, and package them with the back-end to form a jar, which is relatively simple during deployment. However, this is generally not recommended. Since the front-end and back-end separation architecture is used, separa ...

Posted on Wed, 17 Nov 2021 09:12:53 -0500 by samrat_php

Developing Chrome plug-ins using Vue

Original link:   Using Vue to develop Chrome plug-in - ashamed Xiaozhan (kuizuo.cn) preface When I was learning to develop chrome plug-ins, I didn't know Vue, let alone Webpack, so I used native html development, not to mention the efficiency. This time, I'm going to use Vue cli to write a function of a B station to obtain video informat ...

Posted on Sun, 19 Sep 2021 10:34:47 -0400 by SwarleyAUS