Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 275 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 275 Bytes

ellocate.js

A jQuery plugin for generating element locators. Ellocate generates both CSS selectors and XPath expressions.

Usage

$('#foo').ellocate();

//Returns: { xpath: "//html[1]/body[1]/div[@id='foo']", css: "html > body > div#foo" }