(deltaX, deltaY, duration = 200)
| 363 | * @returns {Promise<void>} |
| 364 | */ |
| 365 | const mouseWheel = async (deltaX, deltaY, duration = 200) => { |
| 366 | await browser.actions([ |
| 367 | browser.action('wheel').scroll({ |
| 368 | deltaX, |
| 369 | deltaY, |
| 370 | duration, |
| 371 | }), |
| 372 | ]); |
| 373 | }; |
| 374 | |
| 375 | /** |
| 376 | * Sets the {start, end} positions of the caret for the given input |
no outgoing calls
no test coverage detected