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
Export as PDF
  1. reference
  2. SDKs
  3. Python

Extensions

PreviousCrawlNextAPI Reference

Last updated 3 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:

    • file_path: 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:

extension = client.extensions.create(
    params=CreateExtensionParams(file_path="/Users/test-user/Downloads/extension.zip")
)
print(extension);

List all available extension

List all available extensions

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

Endpoint: POST /api/extensions/list

Parameters:

  • N/A

Example:

extensionsList = client.extensions.list();
for i in range(len(extensionsList)):
    extension = extensionsList[i]
    print(f"extension-{i} => ", json.dumps(extension))

Types

CreateExtensionParams

class CreateExtensionParams(BaseModel):
    name: Optional[str] = Field(default=None, serialization_alias="name")
    file_path: str = Field(serialization_alias="filePath")

ExtensionResponse

class ExtensionResponse(BaseModel):
    id: str = Field(serialization_alias="id")
    name: str = Field(serialization_alias="name")
    created_at: datetime = Field(serialization_alias="createdAt",alias="createdAt")
    updated_at: datetime = Field(serialization_alias="updatedAt",alias="updatedAt")

Response: ]

CreateExtensionParams
ExtensionResponse
List[ExtensionResponse