Skip to content

armgit / camel

Public Imported from GitHub
0

🐫 CAMEL: The first and the best multi-agent framework. Finding the Scaling Law of Agents. https://www.camel-ai.org

1.0 KB
Raw Blame

HybridBrowserSession

class HybridBrowserSession:

Lightweight wrapper around Playwright for browsing with multi-tab support.

It provides multiple Page instances plus helper utilities (snapshot & executor). Multiple toolkits or agents can reuse this class without duplicating Playwright setup code.

This class is a singleton per event-loop and session-id combination.

new

def __new__(cls):

init

def __init__(self):

_load_stealth_script

def _load_stealth_script(self):

Load the stealth JavaScript script from file.