CSS Selector Helper for Chrome™ Chrome 插件, crx 扩展下载

 收录于6年前 阅读数 74

扩展ID: gddgceinofapfodcekopkjjelkbjodin

Dev Tools sidebar that aids finding unique CSS selectors for Selenium WebDriver tests.CSS Selector Helper for Chrome™ makes finding the right CSS selector on a web page much quicker and easier than digging through the HTML. Unlike other tools meant to help you locate CSS selectors, this extension allows you to choose the selectors manually, so that they can match up better with the structure of the page as it was designed. 


To use CSS Selector Helper for Chrome™ follow these steps (also in the video):

1) Install the extension to your chrome browser.

2) Inspect an element on your page or select an element on the "Elements" page of the Dev tools.

3) Navigate to the "CSS Selector" tab on the sidebar of the "Elements" page of the Dev tools.

4) On this tab, you will see a list of element ID names and CSS classes, ordered from the most distant ancestor element on top, to the selected element on bottom. Click any of the items in this list to include it in the current selector.

5) Once the configured selector matches one or more items on the page, you can cycle through the elements by pressing the "Prev" and "Next" buttons.

6) When you have found your CSS selector*, click the "Selector to Clipboard" button to copy the complete and properly formatted selector.

7) To see the selectors of another element, just highlight it in the "Elements" panel, and click  the"Get Classes" button.

*Note: You can check the "Only Visible" checkbox in order to only match elements Selenium Webdriver 2 considers "Visible" (according to this spec: http://www.w3.org/TR/webdriver/#determining-visibility).
名称 CSS Selector Helper for Chrome™
插件标识 gddgceinofapfodcekopkjjelkbjodin
平台 Chrome
评分 0
评分人数 44
插件主页

作者 jeremy.lawrence
版本号 1.9
大小 21.77 KB
官网下载次数 20000
分类 查看更多 web开发 分类下的扩展插件
下载地址
更新时间 2019-05-17 00:00:00
举报
回复

大家在找这些插件