diff --git a/source/api/commands/wrap.md b/source/api/commands/wrap.md index f416e999e3..f59128f5ce 100644 --- a/source/api/commands/wrap.md +++ b/source/api/commands/wrap.md @@ -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