Skip to content

Commit

Permalink
chore(docs): improve docs for $ and $$
Browse files Browse the repository at this point in the history
  • Loading branch information
sjelin committed Nov 9, 2015
1 parent 93abf53 commit 4aa5127
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/element.js
Original file line number Diff line number Diff line change
Expand Up @@ -973,6 +973,8 @@ ElementFinder.prototype.allowAnimations = function(value) {

/**
* Shortcut for querying the document directly with css.
* `element(by.css('.abc'))` is equivalent to `$('.abc')`
*
*
* @alias $(cssSelector)
* @view
Expand All @@ -998,6 +1000,7 @@ exports.build$ = build$;

/**
* Shortcut for querying the document directly with css.
* `element.all(by.css('.abc'))` is equivalent to `$$('.abc')`
*
* @alias $$(cssSelector)
* @view
Expand Down

0 comments on commit 4aa5127

Please sign in to comment.