---
title: dblclick
comments: true
description: ''
---
Double-click on the DOM element in the previous command.
**The following events are fired during dblclick:** `dblclick`
| | |
|--- | --- |
| **Returns** | the new DOM element(s) found by the command. |
| **Timeout** | `cy.dblclick` will retry for the duration of the [`defaultCommandTimeout`](https://on.cypress.io/guides/configuration#section-timeouts) |
# [cy.dblclick()](#section-usage)
Double-click the current subject.
# Options
Pass in an options object to change the default behavior of `cy.dblclick`.
**cy.dblclick(*options* )**
Option | Default | Notes
--- | --- | ---
`log` | `true` | whether to display command in command log
# Usage
## Double click an anchor link
```html
Menu
```
```javascript
// returns the for further chaining
cy.get("#nav1").dblclick()
```
# Command Log
## Double click on a calendar schedule
```javascript
cy.get("[data-schedule-id='4529114']:first").dblclick()
```
The commands above will display in the command log as:
When clicking on `dblclick` within the command log, the console outputs the following:
# Related
- [click](https://on.cypress.io/api/click)