'How to perform a 'mouse down' event using webdriver io?
Try to perform the following, with no luck:
- Move to target element.
- Perform a Left mouse click and hold against the target element.
My code (https://webdriver.io/docs/api/webdriver#performactions):
await $("#button1").moveTo();
await browser.performActions({ "actions": [mousedown] });
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
