find():
element.doubleClick()
Double-clicks the element at the point wherefind() located it. It’s the same as element.click('double-click').
Errors
Throws anElementNotFoundError if find() didn’t locate the element. See click() for how to check found() first.
Double-click at coordinates
The client has nodoubleClick() method. To double-click a point on the screen, pass action: 'double-click' to testdriver.click():
element.doubleClick(), which keeps working when the layout or screen size changes.
Examples
Open a file in VS Code
Select a word
Complete example
tests/open-file.test.mjs
Related
- click(): single clicks, and clicks at coordinates
- rightClick(): open a context menu
- find(): locate the element to double-click
- Perform actions: every kind of action in one guide

