当前位置:网站首页>Basis 33: XPath acquisition methods of page elements under various browsers
Basis 33: XPath acquisition methods of page elements under various browsers
2022-07-25 08:32:00 【False face】
One . Difficult in 2 spot
1. If needed ID Positioning requires development cooperation , Sometimes developers forget to add ; Sometimes it's as heavy Table nesting , Dynamically generate unknown amount of content ,ID It is very difficult to add .
2. no need ID It needs to be used. DOM Positioning function or XPATH, It will make people crazy when encountering multi-layer nesting .
Two . Is there a tool that can click what you get , Get something quickly Element Of Xpath Well ?
1.Chrome Plug in download address :
https://chrome.google.com/webstore/detail/lbghbpofdlcecfbpjgmffnkieenjkboi
1.1. The tool is Chrome Plug in for , After downloading and installing ,Chrome A mark appears in the upper right corner , Click on it , Then click the element to be located with the mouse , The lower right corner Element Of xpath It was generated , You can copy it at will .
2.FireFox Plug in download address
https://addons.mozilla.org/en-US/firefox/addon/firepath/
https://addons.mozilla.org/en-US/firefox/addon/xpath-checker/
2.1. Specific use
http://blog.sina.com.cn/s/blog_5aefba9a0100csy8.html
3.IE Plugin Download
http://blog.sina.com.cn/s/blog_6067dbcb0100ndi4.html
边栏推荐
- Talk about your transformation test development process
- 哈希表刷题(上)
- Redis最佳实践
- How to obtain the intersection / subtraction / Union of two sets by MySQL
- Node+js build time server
- SSM+JSP+MYSQL实现的宠物领养收养管理系统源码
- [5g NR] 3GPP common protocol sorting
- How to set up a personal website for free
- Dijkstra sequence (summer vacation daily question 5)
- Idea2021 failed to start. Could not find main class com/intellij/idea/main
猜你喜欢

Recursive call to print every bit of an integer

CentOS 8.2 MySQL installation (xshell6)

Chapter 3 business function development (realize the real-time response of the select all button)

Redis分片集群

【黑马程序员】Redis学习笔记002:持久化:RDB 和 AOF

Online shopping E-commerce mall system based on jsp+servlet+mysql+

SSM+JSP+MYSQL实现的宠物领养收养管理系统源码

CM4 development cross compilation tool chain production

Redis学习

【黑马程序员】Redis学习笔记001:Redis简介+五种基本数据类型
随机推荐
Advanced C language (XII) - dynamic memory management
Enq: HW - fault analysis caused by content waiting
RTOS系列(13):汇编LDR指令、LDR伪指令、[Rn]寄存器间接引用 详细解析
[dark horse programmer] redis learning notes 002: persistence: RDB and AOF
Hash table questions (Part 1)
第3章业务功能开发(实现全选按钮实时的响应)
RTOS series (13): assembly LDR instruction, LDR pseudo instruction, [rn] register indirect reference detailed analysis
OpenGL es to achieve the effect of "big head, small head" and "head shaking"
Sqlserver has opened the CDC table. Why can we only pull the full amount of data and can't recognize the incremental data
Literature learning (part101) -- converge clustering
[ten thousand words long text] Based on LSM tree thought Net 6.0 C # realize kV database (case version)
[dark horse programmer] redis learning notes 004: master-slave replication + sentinel mode + cluster
Centernet network structure construction
How to obtain the intersection / subtraction / Union of two sets by MySQL
Talk about your transformation test development process
016 fundamentals of machine learning mathematics: Introduction
@The difference and use of value and configurationproperties
JS cool rolling picture deformation animation JS special effects
Chapter 3 business function development (modifying clues, data echo and modifying data)
【万字长文】使用 LSM-Tree 思想基于.Net 6.0 C# 实现 KV 数据库(案例版)