- Selenium Essentials
- Prashanth Sams
- 191字
- 2021-07-23 19:51:39
Locator prioritization
Prioritization lets you prioritize locators while recording scripts. In general, this feature helps the user by giving high priority to generate scripts with respect to the user's preferred locators. For example, by changing the csslocator
order from the fifth to the first position, the further elements generated on the Selenium IDE's target will be in CSS, that is, the locatorType
will be set to CSS by default.
An example of this is CSS = argument
.
Launch the Selenium IDE, choose Options... from the Options menu, and switch to the Locator Builders tab. The left-hand pane will be mounted with a list of available locator builders, such as, ui
, id
, link
, name
, css
, dom:name
, xpath:link
, xpath:img
, xpath:attributes
, xpath:idRelative
, xpath:href
, dom:index
, and xpath:position
. The list of available locator builders is shown in the following screenshot:

Drag and drop locator builders on the left-hand side to change their order. Finally, click on the OK button, and restart the Selenium IDE for the changes to take effect. To reset the default settings of the Selenium IDE, click on the Reset option found in the bottom-left corner of the Selenium IDE options window pane.
- Game Programming Using Qt Beginner's Guide
- Learning ArcGIS Pro 2
- Apache Spark 2.x Machine Learning Cookbook
- Windows Server 2012 Unified Remote Access Planning and Deployment
- Lua程序設(shè)計(第4版)
- Access 2016數(shù)據(jù)庫管
- Getting Started with LLVM Core Libraries
- Terraform:多云、混合云環(huán)境下實現(xiàn)基礎(chǔ)設(shè)施即代碼(第2版)
- Machine Learning With Go
- Python數(shù)據(jù)可視化之美:專業(yè)圖表繪制指南(全彩)
- 從Power BI到Analysis Services:企業(yè)級數(shù)據(jù)分析實戰(zhàn)
- 大數(shù)據(jù)時代的企業(yè)升級之道(全3冊)
- Mastering OpenStack
- Spring Boot從入門到實戰(zhàn)
- Clojure編程樂趣