@rettangoli/vt 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/common.js +6 -0
package/package.json
CHANGED
package/src/common.js
CHANGED
|
@@ -313,6 +313,12 @@ async function takeScreenshots(
|
|
|
313
313
|
case "rclick":
|
|
314
314
|
await page.mouse.click(Number(args[0]), Number(args[1]), { button: "right" });
|
|
315
315
|
break;
|
|
316
|
+
case "mouseDown":
|
|
317
|
+
await page.mouse.down();
|
|
318
|
+
break;
|
|
319
|
+
case "mouseUp":
|
|
320
|
+
await page.mouse.up();
|
|
321
|
+
break;
|
|
316
322
|
case "keypress":
|
|
317
323
|
await page.keyboard.press(args[0]);
|
|
318
324
|
break;
|