Skip to content

Commit

Permalink
Update wrap.md (#439)
Browse files Browse the repository at this point in the history
Update variable name in comment $el -> $button
  • Loading branch information
davidgilbertson authored and brian-mann committed Mar 5, 2018
1 parent 8f4f7ef commit 6d5fedf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/api/commands/wrap.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cy.get('form').within(($form) => {
cy
.get('button')
.then(($button) => {
// $el is a wrapped jQuery element
// $button is a wrapped jQuery element
if ($button.someMethod() === 'something') {
// wrap this element so we can
// use cypress commands on it
Expand Down

0 comments on commit 6d5fedf

Please sign in to comment.