使用chrome console检查css selector/xpath的有效性

定位元素时,一般用xpath或css selector来定位,定位时可以借助chrome浏览器或firefox浏览器的firebug来直接copy selector或copy xpath。此文介绍使用chrome怎样去验证css selector或xpath的有效性。 步骤 1. 按F12打开chrome的开发者工具; 2. 再按Esc键调出console 经过这俩步骤,chrome的Elemen
相关文章
相关标签/搜索