1Step 1: Download the IntelliJ idea code editor 2Step 2: Download the browser Chrome 3 Step 3: Download JDK 4Step 4: Configure environment variables (1JAVA_HOME 2 path) 5Step 5: Download Maven 6Step 6: Configure environment variables (1MAVEN_HOME 2path) 7Step 7: Download the ChromeDriver that matches the browser version 8Step 8: Set up JDK and Maven […]
Tag: firefox
[Java +selenium +jsoup] Java opens Firefox and Google Chrome, and obtains content from the web page in the browser
Google package com.gxq.model.controller; import cn.hutool.core.thread.ThreadUtil; import lombok.AllArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.select.Elements; import org.openqa.selenium.WebDriver; import org.openqa.selenium.chrome.ChromeDriver; import org.openqa.selenium.chrome.ChromeDriverService; import org.openqa.selenium.chrome.ChromeOptions; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RestController; import java.io.File; import java.io.IOException; /** * Get web image Controller * * @author Xiaoqiang * @date July 9, 2023 22:53:17 */ @RestController @Slf4j @AllArgsConstructor @RequestMapping(“/test”) public […]
C# Open the default browser, IE browser, Google browser, Firefox, Microsoft Edge, 360 speed browser help class
Through the code to open the current common browser, the code of the helper class is as follows: 1. First define the browser type enumeration /// <summary> /// browser type /// </summary> public enum BrowserType {<!– –> /// <summary> /// default browser /// </summary> Default = 0, /// <summary> /// Internet Explorer /// </summary> IE […]
How to use Selenium to automate Firefox browser for multi-threaded and distributed crawling of Javascript content
Overview Web crawler is a technology to automatically obtain web data, which can be used for data analysis, information retrieval, competitive intelligence, etc. Faced with many challenges, such as dynamically loaded Javascript content, anti-crawler mechanism, network delay, resource limitations, etc. Advanced crawling techniques to address these issues include Selenium automated browser, multi-threaded and distributed crawling. […]
Lightweight Firefox Send Alternative Gokapi
Unexpectedly, a domain name change would have such a big impact, and the traffic dropped off a cliff. It can be seen that the usual visits should only be some RSS visits. Above is Pageviews, below is Uniques slightly picked up today No wonder those big companies have to spend money to buy domain names, […]
Install Firefox online on Ubuntu 16.04
1. Update the library package sudo apt -y update & amp; & amp; sudo apt -y upgrade Hit: 1 http://mirrors.aliyun.com/ubuntu xenial InRelease Get:2 http://mirrors.aliyun.com/ubuntu xenial-security InRelease [99.8 kB] Get:3 http://mirrors.aliyun.com/ubuntu xenial-updates InRelease [99.8 kB] Get:4 http://mirrors.aliyun.com/ubuntu xenial-proposed InRelease [251 kB] Get:5 http://mirrors.aliyun.com/ubuntu xenial-backports InRelease [97.4 kB] Fetched 548 kB in 1s (538 kB/s) Reading package […]
Custom browser scroll bar style (compatible with chrome and firefox)
1. Problem description The browser’s default scroll bar style is too ugly, and the scroll bar styles are different in different browsers. In order to be beautiful and unified, the scroll bar style must be modified. Someone asked, why not write a scroll bar yourself? First, the efficiency and compatibility of the scroll bar written […]
Firefox plug-in (extension) development
Directory 0. Some concepts 1. Create a project 2. Create content scripts 3. Temporarily add the extension to the browser for testing 3-1, Ctrl + Shift + A or: 3-2. Select the debug add-on 3-3. Choose to temporarily load additional components 3-4. Select the manifest.json file in our project to open 3-5. If the opening […]
JavaScript custom browser scrollbar compatible with IE, Firefox and chrome
Today, I would like to share with you the browser scroll bar I made myself. We know that it is a good way to customize the scroll bar with css. Although css can change the scroll bar style of chrome browser, it can be customized, and css can also change IE browser. The color of […]
[Solved] The form will retain the last selection after the Firefox browser refreshes the compatibility problem solution
During project development, some filter conditions were found. After the last selection, the refresh page still exists. The data on the page is still the data in the last form, which is actually caused by the compatibility of the Firefox browser. solution: Just add autocomplete=”off”. <input id=”name” value=”1111″ autocomplete=”off” /> //Firefox needs to add autocomplete=”off” […]