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,10 @@
|
||||
const browser = require('../browser');
|
||||
|
||||
module.exports = async ({ index }) => {
|
||||
if (index === undefined) throw new Error('Index é obrigatório');
|
||||
await browser.start();
|
||||
await browser.switchTab(index);
|
||||
const url = await browser.currentUrl();
|
||||
const title = await browser.title();
|
||||
return { success: true, action: 'switch_tab', index, url, title };
|
||||
};
|
||||
Reference in New Issue
Block a user