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 ({ url = null }) => {
|
||||
await browser.start();
|
||||
await browser.newTab(url);
|
||||
const p = browser.page;
|
||||
const finalUrl = url || p.url();
|
||||
const title = await p.title();
|
||||
return { success: true, action: 'new_tab', url: finalUrl, title };
|
||||
};
|
||||
Reference in New Issue
Block a user