We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afca5fa commit 7a421e0Copy full SHA for 7a421e0
docs/api/commands/shadow.mdx
@@ -99,10 +99,7 @@ Chrome. It's happening because of
99
In this case, pass `'top'` to `cy.click()` like below:
100
101
```js
102
-cy.get('#element')
103
- .shadow()
104
- .find('[data-test-id="my-button"]')
105
- .click('top')
+cy.get('#element').shadow().find('[data-test-id="my-button"]').click('top')
106
```
107
108
## Command Log
0 commit comments