mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 10:19:30 -05:00
docs: updated all 'command position diagrams' to use same locally stored photo
This commit is contained in:
@@ -39,7 +39,7 @@ cy.window().click() // Errors, 'window' does not yield DOM element
|
||||
|
||||
The position where the click should be issued. The `center` position is the default position. Valid positions are `topLeft`, `top`, `topRight`, `left`, `center`, `right`, `bottomLeft`, `bottom`, and `bottomRight`.
|
||||
|
||||

|
||||
{% img /img/api/coordinates-diagram.jpg "cypress-command-positions-diagram" %}
|
||||
|
||||
**{% fa fa-angle-right %} x** ***(Number)***
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@ cy.title().scrollTo('My App') // Errors, 'title' does not yield DOM element
|
||||
|
||||
A specified position to scroll the window or element to. Valid positions are `topLeft`, `top`, `topRight`, `left`, `center`, `right`, `bottomLeft`, `bottom`, and `bottomRight`.
|
||||
|
||||

|
||||
{% img /img/api/coordinates-diagram.jpg "cypress-command-positions-diagram" %}
|
||||
|
||||
**{% fa fa-angle-right %} x** ***(Number, String)***
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@ The name of the `event` to be triggered on the DOM element.
|
||||
|
||||
The position where the event should be triggered. The `center` position is the default position. Valid positions are `topLeft`, `top`, `topRight`, `left`, `center`, `right`, `bottomLeft`, `bottom`, and `bottomRight`.
|
||||
|
||||

|
||||
{% img /img/api/coordinates-diagram.jpg "cypress-command-positions-diagram" %}
|
||||
|
||||
**{% fa fa-angle-right %} x** ***(Number)***
|
||||
|
||||
|
||||
Reference in New Issue
Block a user