UNPKG

@ejazullah/smart-browser-automation

Version:

A smart AI-driven browser automation library and REST API server using MCP (Model Context Protocol) and LangChain for multi-step task execution. Includes both programmatic library usage and HTTP API server for remote automation.

15 lines (14 loc) 506 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.createCookieInterceptor = createCookieInterceptor; var _cookie_handler = require("./cookie_handler"); function createCookieInterceptor(cookieOptions) { return dispatch => { return function interceptCookie(dispatchOptions, handler) { const cookieHandler = new _cookie_handler.CookieHandler(dispatch, cookieOptions, handler); return cookieHandler.dispatch(dispatchOptions, cookieHandler); }; }; }