mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 01:49:06 -05:00
docs: more command yields
This commit is contained in:
@@ -46,7 +46,7 @@ Option | Default | Description
|
||||
|
||||
## Yields {% helper_icon yields %}
|
||||
|
||||
`.scrollIntoView()` yields the DOM element that was scrolled into view.
|
||||
{% yields same_subject .scrollIntoView %}
|
||||
|
||||
## Timeouts {% helper_icon timeout %}
|
||||
|
||||
|
||||
@@ -58,7 +58,7 @@ Option | Default | Description
|
||||
|
||||
## Yields {% helper_icon yields %}
|
||||
|
||||
`cy.scrollTo()` yields the window or DOM element that was scrolled.
|
||||
{% yields same_subject cy.scrollTo %}
|
||||
|
||||
## Timeouts {% helper_icon timeout %}
|
||||
|
||||
|
||||
@@ -68,7 +68,7 @@ You can also include arbitrary event properties (e.g. `clientX`, `shiftKey`) and
|
||||
|
||||
## Yields {% helper_icon yields %}
|
||||
|
||||
`.trigger()` yields the DOM subject chained from the previous command.
|
||||
{% yields same_subject .trigger %}
|
||||
|
||||
## Timeouts {% helper_icon timeout %}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user