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" }| Failed to load latest commit information. | |||
|
|
lib/jasmine-1.3.1 | ||
|
|
spec | ||
|
|
.gitignore | ||
|
|
README.md | ||
|
|
SpecRunner.html | ||
|
|
bower.json | ||
|
|
ellocate.jquery.json | ||
|
|
jquery.ellocate.js | ||
A jQuery plugin for generating element locators. Ellocate generates both CSS selectors and XPath expressions.
$('#foo').ellocate();
//Returns: { xpath: "//html[1]/body[1]/div[@id='foo']", css: "html > body > div#foo" }