Skip to main content

PlaywrightLLMAgent

High-level orchestration: snapshot ↔ LLM ↔ action executor.

init

_get_chat_agent

Get or create the ChatAgent instance.

_safe_parse_json

Safely parse JSON from LLM response with multiple fallback strategies.

_get_fallback_response

Generate a fallback response structure.

_llm_call

Call the LLM (via CAMEL ChatAgent) to get plan & next action.