Best practices for prompting your browser agents
Use Natural Language
- State your goal directly: “Fill out this contact form with my business details”
- Specify the action: “Click the blue ‘Submit’ button” instead of “submit this”
- Include context: “Navigate to the pricing page and compare the Pro vs Enterprise plans”
Break Down Complex Tasks
- Write as if talking to a human assistant
- Avoid technical jargon or programming syntax
- Example: “Find the cheapest flight to Paris next week” not “query flight API for CDG destination”
Provide Necessary Details
- Split multi-step processes into smaller, clear instructions Example: “First, log into the account. Then go to settings. Finally, update the email address.”
Handle Errors Gracefully
- Include specific information the agent needs
- “Enter ‘[email protected]’ in the email field”
- “Select ‘Premium’ from the subscription dropdown”
- If something fails, describe what you expected vs. what happened
- “The form should submit but I’m seeing a red error message”
- Give the agent permission to try alternative approaches