feat: MCP Browser v3.0 - 42 tools with stealth mode, multi-tab, PDF, cookies, storage, network logs, device emulation
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
const browser = require('../browser');
|
||||
|
||||
module.exports = async ({ width, height }) => {
|
||||
if (width === undefined || height === undefined) throw new Error('Width e height são obrigatórios');
|
||||
await browser.start();
|
||||
await browser.setViewport(width, height);
|
||||
return { success: true, action: 'set_viewport', width, height };
|
||||
};
|
||||
Reference in New Issue
Block a user