action_logger

def action_logger(func):
Decorator to add logging to action methods.

WebSocketBrowserWrapper

class WebSocketBrowserWrapper:
Python wrapper for the TypeScript hybrid browser toolkit implementation using WebSocket.

init

def __init__(self, config: Optional[Dict[str, Any]] = None):
Initialize the wrapper. Parameters:
  • config: Configuration dictionary for the browser toolkit

_ensure_ref_prefix

def _ensure_ref_prefix(self, ref: str):
Ensure ref has proper prefix

_process_refs_in_params

def _process_refs_in_params(self, params: Dict[str, Any]):
Process parameters to ensure all refs have ‘e’ prefix.