# Refrain ## Docs - [execute](https://docs.therefrain.ai/cli/execute.md): Execute a runbook to automate browser operations. - [fix-runbook](https://docs.therefrain.ai/cli/fix-runbook.md): Apply AI-generated repair suggestions to update a broken runbook. - [generate](https://docs.therefrain.ai/cli/generate.md): Generate a runbook by AI-driven browser exploration. - [CLI Overview](https://docs.therefrain.ai/cli/overview.md): Install and use the Refrain CLI. - [runner](https://docs.therefrain.ai/cli/runner.md): Connect a remote browser runner to the Refrain server via the Desktop App or CLI. - [Error Classification](https://docs.therefrain.ai/concepts/error-classification.md): How Refrain automatically categorizes failures for targeted repair. - [How It Works](https://docs.therefrain.ai/concepts/how-it-works.md): Understand the three-phase pipeline: Generate, Execute, and Self-heal. - [Plans & Pricing](https://docs.therefrain.ai/concepts/plan-tiers.md): Compare Refrain plans and features across tiers. - [Selector Resolution](https://docs.therefrain.ai/concepts/selector-resolution.md): How Refrain finds elements on the page using multi-layered resolution. - [API Keys](https://docs.therefrain.ai/console/api-keys.md): Generate and manage API keys for programmatic access. - [Execution Settings](https://docs.therefrain.ai/console/execution-settings.md): Configure browser, self-healing, approval, and notification settings. - [Jobs](https://docs.therefrain.ai/console/jobs.md): Monitor and manage runbook execution jobs in the Web Console. - [AI Model Settings](https://docs.therefrain.ai/console/models.md): Configure AI providers and per-purpose model overrides in the Web Console. - [Web Console Overview](https://docs.therefrain.ai/console/overview.md): Get started with the Refrain Web Console for managing runbooks and jobs. - [Runbooks](https://docs.therefrain.ai/console/runbooks.md): Create, edit, and manage runbooks in the Web Console. - [Schedules](https://docs.therefrain.ai/console/schedules.md): Set up recurring and one-time scheduled runbook executions. - [Team Management](https://docs.therefrain.ai/console/team.md): Manage members, roles, and invitations in the Web Console. - [Set Up Your AI Provider](https://docs.therefrain.ai/guides/ai-setup.md): Configure your AI provider and API key before generating or executing runbooks. - [Approval & Notifications](https://docs.therefrain.ai/guides/approval-and-notifications.md): Set up Slack, Teams, or Discord for step approval and completion notifications. - [Execute a Runbook](https://docs.therefrain.ai/guides/execute-runbook.md): Run a generated runbook with deterministic execution and zero AI cost. - [Apply Fixes](https://docs.therefrain.ai/guides/fix-runbook.md): Apply AI repair suggestions from a self-heal report to your runbook. - [Generate a Runbook](https://docs.therefrain.ai/guides/generate-runbook.md): Let AI explore your web app and build a runbook automatically. - [Self-Heal Mode](https://docs.therefrain.ai/guides/self-heal.md): Automatically diagnose failures and get AI repair suggestions when UIs change. - [Skills (Plugins)](https://docs.therefrain.ai/guides/skills.md): Enhance AI understanding with domain-specific plugins. - [Variables & Secrets](https://docs.therefrain.ai/guides/variables-and-secrets.md): Parameterize runbooks with variables, secrets, and template syntax. - [What is Refrain?](https://docs.therefrain.ai/introduction.md): Self-healing browser automation framework. AI generates reproducible runbooks. Reruns cost zero AI tokens. AI agents self-heal your automation when UIs change. - [Quickstart](https://docs.therefrain.ai/quickstart.md): Get up and running with Refrain in 5 minutes. - [Examples](https://docs.therefrain.ai/sdk/examples.md): Practical SDK examples for common automation scenarios. - [Local Execution](https://docs.therefrain.ai/sdk/local-execution.md): Execute runbooks locally using the Refrain class. - [SDK Overview](https://docs.therefrain.ai/sdk/overview.md): Install and use the Refrain TypeScript SDK for programmatic browser automation. - [Type Reference](https://docs.therefrain.ai/sdk/types.md): All exported types from the Refrain SDK. - [Troubleshooting](https://docs.therefrain.ai/troubleshooting.md): Common issues and solutions for Refrain. - [Banking & Government Portals](https://docs.therefrain.ai/use-cases/banking-government.md): Automate tasks on legacy banking and government portals that lack APIs. - [Bulk Form Submission](https://docs.therefrain.ai/use-cases/bulk-form-submission.md): Read rows from a CSV and submit each as a form entry across any web app. - [Compliance & Monitoring Checks](https://docs.therefrain.ai/use-cases/compliance-monitoring.md): Periodically verify license pages, terms of service, or regulatory dashboards for changes. - [Corporate Registry Lookup](https://docs.therefrain.ai/use-cases/corporate-registry.md): Search company registries and extract registration details — company number, address, incorporation date. - [Cross-App Data Sync](https://docs.therefrain.ai/use-cases/cross-app-sync.md): Bridge two SaaS tools that lack API integration — extract from one, input into another. - [Scheduled Dashboard Export](https://docs.therefrain.ai/use-cases/dashboard-export.md): Log in to SaaS dashboards and export CSV reports on a schedule with zero AI cost. - [E2E Regression Testing](https://docs.therefrain.ai/use-cases/e2e-regression-testing.md): Replace brittle Playwright selectors with self-healing runbooks for CI/CD integration. - [EC Price & Inventory Monitoring](https://docs.therefrain.ai/use-cases/ec-price-monitoring.md): Track competitor prices and stock levels across e-commerce sites with scheduled runbooks. - [SNS & Reputation Monitoring](https://docs.therefrain.ai/use-cases/sns-monitoring.md): Monitor brand mentions, reviews, and emerging crises across social platforms. - [Streaming & Content Reports](https://docs.therefrain.ai/use-cases/streaming-reports.md): Collect play counts, royalties, and analytics from content platforms into a single export. - [Actions](https://docs.therefrain.ai/yaml/actions.md): Reference for the 12 runbook action types. - [Captures](https://docs.therefrain.ai/yaml/captures.md): Extract and store values from step execution. - [Loops & Branches](https://docs.therefrain.ai/yaml/loops-and-branches.md): Repeat steps with loops and execute conditionally with branches. - [Memory Operations](https://docs.therefrain.ai/yaml/memory-operations.md): Accumulate and aggregate data across steps using memory collections. - [Runbook YAML](https://docs.therefrain.ai/yaml/overview.md): Structure and fields of the runbook YAML format. - [Selectors](https://docs.therefrain.ai/yaml/selectors.md): How runbook steps identify DOM elements using multi-strategy selectors. - [Variables](https://docs.therefrain.ai/yaml/variables.md): Define and resolve template variables in runbooks. ## OpenAPI Specs - [openapi](https://docs.therefrain.ai/api-reference/openapi.json)