Skip to content

Commit

Permalink
adds link to workaround for hover command entry (cypress-io#2646)
Browse files Browse the repository at this point in the history
* adds link to recipe for Chrome remote debugging as a workaround for :hover psuedoclass to hover command in API

* Update source/api/commands/hover.md

Co-Authored-By: Jennifer Shehane <[email protected]>

Co-authored-by: Jennifer Shehane <[email protected]>
  • Loading branch information
CypressCecelia and jennifer-shehane authored Mar 27, 2020
1 parent 3bf3135 commit f0f72cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions source/api/commands/hover.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ If the hover behavior depends on a JavaScript event like `mouseover`, you can tr
Using `.trigger()` will only affect events in JavaScript and will not trigger any effects in CSS.
{% endnote %}

As a workaround, check out the {% url 'recipe leveraging Chrome remote debugging' recipes#Fundamentals %} to set pseudo classes like `hover`.

### Simulating `mouseover` event to get popover to display

```javascript
Expand Down

0 comments on commit f0f72cf

Please sign in to comment.