Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Tag: Selenium

Selenium – mouse operation

Foreplay When we are doing automation, we sometimes use some mouse operations, such as double-clicking, mouse hovering and other operations. Selenium provides the ActionChains method for us to oper

September 30, 2021By Simo Auto-Test Mouse, operation, SeleniumLeave a Comment

Selenium – scroll page to element

Scroll page   In automated operations, if the web page Too long, and the element we need is not in the current visible page, then selenium cannot operate it; at this time, we need to scroll the pag

September 30, 2021By Simo Auto-Test element, page, scrolling, Selenium, visibleLeave a Comment

Selenium automation processing of calendar or date control for non-input boxes

4, at this time we can remove the readonly attribute, the problem is easily solved, the code is as follows:

  String js = “document.getElementById(‘createTime’).removeAttribute(‘readonly’)”; //

September 30, 2021By Simo Auto-Test automation, box, calendar, control, Date, input, non-, pair, Processing, SeleniumLeave a Comment

Selenium —- three waiting

In UI automation testing, you will often encounter a bad network environment, resulting in elements that cannot be found. If an error is reported, the wait in selenium will be used at this time. Th

September 30, 2021By Simo Auto-Test Selenium, three kinds, waitingLeave a Comment

Selenium-51Job Automation Test (CSS Selector Select Element)

Log in to 51job,
http://www.51job.com

Enter the search keyword “python”, select the region “Hangzhou” (note that if the location has already selected other regions , To be removed),
Search

September 30, 2021By Simo Auto-Test 51job, automation, CSS, element, Job, Pseudo, selection, Selenium, testLeave a Comment

Selenium – keyboard operation

Foreplay The last article talked about mouse events in selenium. In automation, keyboard events are also very important. For example, we need to press enter, ctrl+c to copy, etc. Such operations ar

September 30, 2021By Simo Auto-Test keyboard, operation, SeleniumLeave a Comment

Crawn Selenium

Open the crawler on the front end of the browser from selenium import webdriver
from time import sleep

bro = webdriver.Chrome(executable_path=r’D:\Crawler Storage\chromedriver.exe’)

bro.get(u

September 28, 2021By Simo Web Crawler reptile, SeleniumLeave a Comment

Day – 85 Reptile (Part 2: Selenium)

crawler 03 selenium module summary One: installation and use of selenium module< /span>   
  01: Introduction to selenium
What is selenium? Selenium is a third-party library of Python. The interf

August 22, 2021By Simo Web Crawler Day, Herbs, part, Second, SeleniumLeave a Comment

Posts navigation

Page 1 Page 2
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress