update example in dom to be accurate and match cypress flow better.
update example in dom to be accurate and match cypress flow better.

cypress-io/cypress-documentation,cypress-io/cypress-documentation