diff --git a/source/api/commands/focus.md b/source/api/commands/focus.md index 0fbb186722..88ead2eb85 100644 --- a/source/api/commands/focus.md +++ b/source/api/commands/focus.md @@ -69,7 +69,7 @@ cy.get('textarea').focus().type('Nice Product!').blur() `.focus()` is just a helpful command which is a simple shortcut. Normally there's no way for a user to simply "focus" an element without causing another action or side effect. Typically the user would have to click or tab to this element. -Oftentimes its must simpler and conveys what you're trying to test by just using `.focus()` directly. +Oftentimes its much simpler and conveys what you're trying to test by just using `.focus()` directly. If you want the other guarantees of waiting for an element to become actionable, you should use a different command like {% url `.click()` click %}. diff --git a/source/api/commands/submit.md b/source/api/commands/submit.md index aa33927cf7..d8877bb8ff 100644 --- a/source/api/commands/submit.md +++ b/source/api/commands/submit.md @@ -73,7 +73,7 @@ cy.get('#contact').submit() `.submit()` is just a helpful command which is a simple shortcut. Normally a user has to perform a different "action" to submit a form. It could be clicking a submit `