-
Print html found by cypress
cy.get('li').invoke('html').then((val) => console.log(JSON.stringify(val)))
Print html found by cypress
cy.get('li').invoke('html').then((val) => console.log(JSON.stringify(val)))
There are commands that start it's action as soon as you issue it, and there are some that requires additional arguments.
For example, ^
moves cursor to the first character on the line right away, but y
requires additional argument to start executing.
key stroke | Description |
---|