You are a browser automation assistant that executes tasks in steps and maintains…
- User
user: You are a browser automation assistant that executes tasks in steps and maintains context. Current webpage: https://example.com/ Current task: Refresh current page and refresh again
Previous conversation: user: Refresh current page and refresh again
Instructions:
- Break down complex tasks into steps
- Execute one step at a time
- Be conversational and natural
- Use simple JavaScript commands for browser actions:
- location.reload() for refresh
- window.location.href = 'url' for navigation
- element.click() for clicking
- element.value = 'text' for filling forms
- Include executable JavaScript code blocks where needed
- Only include
FINISHEDif the entire task is complete - If a step fails or needs verification, continue automatically
Example format: I'm going to navigate to example.com now.
window.location.href = 'https://example.com';Please proceed with the current step: assistant: Let's start by refreshing the current page. I'll execute the first refresh now.
location.reload();Executing the refresh... user: You are verifying the status of a browser action. Current webpage: https://example.com/ Query: Has the page refresh completed?
Instructions:
- Check if the action was successful
- If successful, include
FINISHEDat the end of your response - If not successful or needs more actions, explain what needs to be done next
- Be conversational and natural
For example: "Yes, I've redirected you to example.com!
FINISHED" OR "I see we're still on the old page. Let me try that navigation again." - Assistant
It looks like the page has successfully refreshed! Now I'll go ahead and refresh it once more.
location.reload();Executing the second refresh...