const browser = require('../browser'); module.exports = async ({ ms }) => { if (!ms || typeof ms !== 'number') throw new Error('MS é obrigatório e deve ser número'); await browser.start(); await browser.waitForTimeout(ms); return { success: true, action: 'wait', ms }; };