Overview
A Browser Use agent searches one accommodation booking site in your own Chrome, picks a room that matches your rules, fills in the guest details and stops at the payment page so you can check and pay yourself.
Problem or Objective
- Which agents find availability and help book restaurants, travel or appointments?
- Which agents compare flights, fares and hotels against your rules?
- Which agents complete online forms from data you provide?
More in Travel and Bookings
AI Agents and Models
Tools and Integrations
- Tools
- Browser Use · Python · Google Chrome
- Prerequisites
- Python 3.11 or newer, the Browser Use library, a model API key or Browser Use Cloud key, and Chrome with remote debugging turned on.
How It Works
Install the Browser Use Python library with an exact version pin. Run it against the Chrome you already have open (Browser('chrome')) after turning on remote debugging once, so the payment page ends up in a window you control. Restrict the run to the booking site with allowed_domains. Write a task with the city or area, dates, number of guests, maximum price per night, must-haves such as free cancellation, and the guest name, email and phone to enter. Tell the agent to compare the first page of results, pick the best match, fill in the guest form, and stop on the page that asks for payment, reporting the property, room, total and cancellation terms. Read that summary, check the page in your browser, and pay yourself only if everything matches; otherwise close the tab.
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, Google Chrome.
- Check the prerequisitesPython 3.11 or newer, the Browser Use library, a model API key or Browser Use Cloud key, and Chrome with remote debugging turned on.
- Gather your detailsCollect what the prompt asks for: Booking website, City or area, Check-in date, Check-out date, Number of guests, Maximum price per night, Must-haves, Lead guest name, Contact email, Contact phone.
- 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: Fill an accommodation booking up to payment
Fill the fields to adapt the prompt. Empty fields stay as visible [placeholders].
On [Booking website], find a place to stay in [City or area] from [Check-in date] to [Check-out date] for [Number of guests] guests, at most [Maximum price per night] per night, with [Must-haves]. Compare the first page of results and choose the best match. Fill in the guest form with name [Lead guest name], email [Contact email] and phone [Contact phone]. Stop on the page that asks for payment, do not enter any payment details and do not confirm anything. Report the property, room, total price and cancellation terms so I can check and pay myself.Run it on your own Chrome with allowed_domains set to the booking site. The agent stops at the payment page; you check every detail and pay yourself, or close the tab.
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 describes an open-source agent that completes tasks in a real browser, including the Chrome you have open with your logins, and options to limit the domains it may visit and to pass sensitive values that the model types without seeing them in its output. Its own demo books an appointment on a website. It says nothing about any particular booking site, and the agent is told to stop before payment, so the booking itself is always your step.
Limitations and Considerations
Never put card details in the task. The README warns that its secrets handling is not a sandbox and that domain restrictions are a guard rather than a sandbox, so keep runs short and watch them. Prices and availability can change between the agent's summary and your payment; check the total, dates, guest names and cancellation terms on the payment page. Check the booking site's terms on automated use, and stop if it blocks the agent. 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 open-source browser agent: give it a task and the model does it in a real browser by writing Python.
- Browser('chrome') drives the Chrome you have open, with your logins, after turning on remote debugging once.
- Domain restrictions with Browser(allowed_domains=[...]) are a guard for an aligned model, not a sandbox.
- sensitive_data values are typed with type_secret and replaced with a placeholder in outputs, but this is not a sandbox: model-written Python can read the value.
