const browser = require('../browser'); module.exports = async ({ types }) => { if (!types || !Array.isArray(types)) throw new Error('Types array é obrigatório'); await browser.start(); const result = browser.blockResources(types); return { success: true, action: 'block_resources', ...result }; };