LogoLogo
SupportDashboard
  • Community
  • Welcome to Hyperbrowser
  • Get Started
    • Quickstart
      • AI Agents
        • Browser Use
        • Claude Computer Use
        • OpenAI CUA
      • Web Scraping
        • Scrape
        • Crawl
        • Extract
      • Browser Automation
        • Puppeteer
        • Playwright
        • Selenium
  • Agents
    • Browser Use
    • Claude Computer Use
    • OpenAI CUA
  • HyperAgent
    • About HyperAgent
      • HyperAgent SDK
      • HyperAgent Types
  • Quickstart
  • Multi-Page actions
  • Custom Actions
  • MCP Support
    • Tutorial
  • Examples
    • Custom Actions
    • LLM support
    • Cloud Support
      • Setting Up
      • Proxies
      • Profiles
    • MCP Examples
      • Google Sheets
      • Weather
        • Weather Server
    • Output to Schema
  • Web Scraping
    • Scrape
    • Crawl
    • Extract
  • Sessions
    • Overview
      • Session Parameters
    • Advanced Privacy & Anti-Detection
      • Stealth Mode
      • Proxies
      • Static IPs
      • CAPTCHA Solving
      • Ad Blocking
    • Profiles
    • Recordings
    • Live View
    • Extensions
    • Downloads
  • Guides
    • Model Context Protocol
    • Scraping
    • AI Function Calling
    • Extract Information with an LLM
    • Using Hyperbrowser Session
    • CAPTCHA Solving
  • Integrations
    • ⛓️LangChain
    • 🦙LlamaIndex
  • reference
    • Pricing
    • SDKs
      • Node
        • Sessions
        • Profiles
        • Scrape
        • Crawl
        • Extensions
      • Python
        • Sessions
        • Profiles
        • Scrape
        • Crawl
        • Extensions
    • API Reference
      • Sessions
      • Scrape
      • Crawl
      • Extract
      • Agents
        • Browser Use
        • Claude Computer Use
        • OpenAI CUA
      • Profiles
      • Extensions
Powered by GitBook
On this page
  • Add an extension
  • List all available extension
  • Types
  • CreateExtensionParams
  • ExtensionResponse
  • ListExtensionsResponse
Export as PDF
  1. reference
  2. SDKs
  3. Node

Extensions

PreviousCrawlNextPython

Last updated 4 months ago

Add an extension

Adds a new chrome manifest V3 extension

Method: client.extensions.create(params:CreateExtensionParams): Promise<ExtensionResponse>

Endpoint: POST /api/extensions/add

Parameters:

  • params:

    • filePath: string - Path to the zip containing the manifest V3 compliant extension

    • name?: string - Optional name to give to the extension. Does not affect functionality.

Response:

Example:

const response = await client.extensions.create({
  filePath: "/Users/test-user/Downloads/extension.zip",
});
console.log(response);

List all available extension

List all available extensions

Method: client.extensions.list(): Promise< ListExtensionsResponse >

Endpoint: POST /api/extensions/list

Parameters:

  • N/A

Example:

const extensionsList = await client.extensions.list();
for (let i=0;i<extensionsList.length;i++){
    const extension = extensionsList[i]
    console.log(`extension-${i} => `, JSON.stringify(extension))
}

Types

CreateExtensionParams

interface CreateExtensionParams {
  filePath: string;
  name?: string;
}

ExtensionResponse

interface ExtensionResponse {
  name: string;
  id: string;
  createdAt: string;
  updatedAt: string;
}

ListExtensionsResponse

type ListExtensionsResponse = Array<ExtensionResponse>

Response:

CreateExtensionParams
ExtensionResponse
ListExtensionResponse