--- id: "9b8f7e51-9bf3-47a8-acb7-b62b30759bac" name: "Key Functions" micro_summary: "Required reading: reference for js(), print(), wait_for_load(), wait(), and capture_screenshot() — what each does and when to use it." status: "in_progress" see_also: [] scope: "Reference for js(), print(), wait_for_load(), wait(), and capture_screenshot() — what each does and when to use it." --- ## Key Functions - `js("...")` — execute JavaScript in the browser context, returns string - `print()` — Python's print (not `console.log()`) - `wait_for_load()` — wait for page load - `wait(1)` — wait for React SPA hydration - `capture_screenshot()` — save screenshot to verify state