UNPKG

e2ed

Version:

E2E testing framework over Playwright

14 lines (13 loc) 510 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.drag = void 0; const log_1 = require("../utils/log"); /** * Drags an element by an offset. */ const drag = (selector, dragOffsetX, dragOffsetY, { stabilizationInterval, ...options } = {}) => { (0, log_1.log)('Drag an element by an offset', { dragOffsetX, dragOffsetY, ...options, selector, stabilizationInterval }, 5 /* LogEventType.InternalAction */); // TODO return Promise.resolve(); }; exports.drag = drag;