Skip to content
A jQuery plugin for generating element locators. Ellocate generates both CSS selectors and XPath expressions.
JavaScript
Find file
Latest commit 9c14458 @fohara fohara Initial commit.
Failed to load latest commit information.
lib/jasmine-1.3.1
spec
.gitignore Initial commit.
README.md Initial commit.
SpecRunner.html Initial commit.
bower.json Initial commit.
ellocate.jquery.json Initial commit.
jquery.ellocate.js Initial commit.

README.md

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" }
Something went wrong with that request. Please try again.