Overview
Run the open-source Browser Use agent in a local browser on a flight search, a restaurant booking and a rail booking, stop before payment or at any block, and record where each attempt ended.
Problem or Objective
- Which agents can operate a web browser for you?
- Which agents compare flights, fares and hotels against your rules?
More in Travel and Bookings
AI Agents and Models
Tools and Integrations
- Tools
- Browser Use · Python
- Prerequisites
- Python, the Browser Use library set to a local browser, and a model API key or a local model. Check each site's terms on automated access first.
How It Works
Install the Browser Use Python library and set it to drive a fresh local browser rather than the default cloud browser. Write three separate tasks: search one flight route and date, find a dinner table for two at a named restaurant, and find a rail journey. In each task tell the agent to go only as far as the page before payment or final confirmation, never to enter payment details, and to stop and report as soon as it meets a CAPTCHA, a login wall, an access block or a handoff to another site. Ask for a structured result for each task: the furthest step reached, the page address where it stopped, the reason, and a link a person can use to finish by hand. Watch the runs in the visible browser. Afterwards, compare the three results, check each site's terms on automated use, and finish any booking you still want yourself.
Implementation Workflow
Steps assembled from the agents, tools and prompt of this entry. Adapt them to your own setup.
- Choose the agentSet up Browser Use.
- Connect the toolsConnect the tools this workflow relies on: Browser Use, Python.
- Check the prerequisitesPython, the Browser Use library set to a local browser, and a model API key or a local model. Check each site's terms on automated access first.
- Gather your detailsCollect what the prompt asks for: Booking site to test, What to try to book.
- Run the starter promptPaste the starter prompt below into Browser Use and adapt it to your case.
- Check against the documentationCompare what you get with the documentation at github.com before you rely on it.
Practical Starter Prompt: Try one booking flow and report where you stop
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
Go to [Booking site to test] and try to [What to try to book]. Go no further than the page before payment or final confirmation, and never enter payment details or submit a booking. If you meet a CAPTCHA, a login wall, an access block or a handoff to another site, stop immediately; do not try to get around it. Report the furthest step you reached, the page address where you stopped, the reason, and a link I can use to finish by hand. I will review the report and make any booking myself.Run each task separately in a local, visible browser, and turn the cloud browser off. Treat a stop at a CAPTCHA or block as the right result, and check each site's terms before testing.
Expected Results and Benefits
This is a suggested workflow, not a reported result. The points below are what the cited documentation says the tools can do.
This is a suggested workflow, not a reported outcome. The Browser Use README supports a local or cloud browser for the open-source library and warns that the default is a cloud browser. It does not say how any travel or restaurant site responds to an agent, so the result of each attempt is unknown until you run it, and a stop at a block is an expected, useful result.
Limitations and Considerations
The README says that with the Python library the default browser is a cloud browser, and that the cloud offers stealth browsers and CAPTCHA solving; do not use those here, and stop at any CAPTCHA or block. Check each site's terms on automated access before running even a test. The library is free but model providers and Browser Use Cloud charge for usage. Never give the agent payment details, and confirm any real booking yourself. Results depend on your setup and were not independently reproduced by Top 200 Repos.
GitHub Repositories
AI Agent Repository
Source code of the agent that does the work.
Related Videos
About browser-use/browser-use
Browser Use Agent Tutorial: Automate Web Tasks with AI (opens in a new tab)
Published by the project’s official channel.
Watch on YouTube (opens in a new tab)Independent creators. Listing a video implies no endorsement, sponsorship or partnership.
Sources
- Navigate the web like a human does. (opens in a new tab)
Project documentation · github.com · Undated · Source checked 25 Nov 2026, 11:57 UTC
What this source supports
- The CLI and Python library can each connect to a local or cloud browser.
- With the Python library, `Browser()` is a cloud browser by default.
- Model inference and hosted browsers are separate: API providers, including `ChatBrowserUse`, and Browser Use Cloud charge for usage.
