Navigation Actions

Auto-Browse provides natural language commands for navigating between pages, handling URLs, and managing browser navigation state. This guide covers various navigation scenarios and best practices.

Basic Navigation

Navigate to URLs and pages:
// Navigate to a URL
await auto("go to https://example.com");

// Navigate using page name
await auto("go to the home page");

// Navigate using relative paths
await auto("go to /products");

Common Use Cases

Page Navigation and Browser Controls
// Navigate to specific pages
await auto("go to the login page");
await auto("navigate to the about page");
await auto("visit the contact page");

// Browser history navigation
await auto("go back");
await auto("go forward");
await auto("refresh the page");

// Navigate with context
await auto("go to the settings page in account section");
await auto("navigate to the first product's details page");

Key Features

  • Multiple Navigation Types: Direct URLs, page names, and relative paths
  • Browser Controls: Back, forward, refresh, and history navigation
  • State Management: Automatic waiting for navigation completion
  • Context Awareness: Navigate within specific sections or areas

Next Steps