Browser Use

Browser Use provides browser agents and managed browser infrastructure for applications that automate web tasks

Texto original da fonte · EN

Veja em ação

Exemplo do autor

Earlier Cloud browser title-capture example

A retained author capture combines the terminal model loop and the final example.com page, with the saved title and session cleanup shown.

Browser Use author capture combining terminal responses, Example Domain title and final remote browser page
Ver imagem completa
Licença

Lossless PNG-to-WebP conversion; original dimensions and decoded pixels preserved. No crop, upscale or independent site run. The pinned integration README explicitly calls this an earlier example.com smoke capture, not the current Hacker News quickstart. No current quickstart input, generation model or independent site execution is paired with it.

MIT License

Copyright (c) 2024 Gregor Zunic

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Exemplo de uso

Browser Use source example: search and report three results

Full original Python script searches Google and asks for three browser-automation results. Requires a compatible Browser Use Python environment, dotenv, browser setup and BROWSER_USE_API_KEY for the source bu-2-0-mini-preview model. Repository-relative path setup and source model spelling are unchanged; model availability is not established. This is the author’s recipe, not returned search results, a submitted form or an extracted dataset.

Entrada de exemplo

"""
Setup:
1. Get your API key from https://cloud.browser-use.com/new-api-key
2. Set environment variable: export BROWSER_USE_API_KEY="your-key"
"""

import asyncio
import os
import sys

# Add the parent directory to the path so we can import browser_use
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))

from dotenv import load_dotenv

load_dotenv()

from browser_use import Agent, ChatBrowserUse


async def main():
	llm = ChatBrowserUse(model='bu-2-0-mini-preview')
	task = "Search Google for 'what is browser automation' and tell me the top 3 results"
	agent = Agent(task=task, llm=llm)
	await agent.run()


if __name__ == '__main__':
	asyncio.run(main())
Licença

Complete original source file unchanged; editorial title, context and prerequisites added. No installation, account operation, model call, form submission or claimed result was executed.

MIT License

Copyright (c) 2024 Gregor Zunic

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Exemplo de uso

Browser Use source example: fill a demo contact form

Full original Python script fills httpbin’s demo form with John Doe/example.com sample values and requests submission. Requires a compatible Browser Use Python environment, dotenv, browser setup and BROWSER_USE_API_KEY for the source bu-2-0-mini-preview model. Repository-relative path setup and source model spelling are unchanged; model availability is not established. This is the author’s recipe, not returned search results, a submitted form or an extracted dataset.

Entrada de exemplo

"""
Getting Started Example 2: Form Filling

This example demonstrates how to:
- Navigate to a website with forms
- Fill out input fields
- Submit forms
- Handle basic form interactions

This builds on the basic search example by showing more complex interactions.

Setup:
1. Get your API key from https://cloud.browser-use.com/new-api-key
2. Set environment variable: export BROWSER_USE_API_KEY="your-key"
"""

import asyncio
import os
import sys

# Add the parent directory to the path so we can import browser_use
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))

from dotenv import load_dotenv

load_dotenv()

from browser_use import Agent, ChatBrowserUse


async def main():
	# Initialize the model
	llm = ChatBrowserUse(model='bu-2-0-mini-preview')

	# Define a form filling task
	task = """
    Go to https://httpbin.org/forms/post and fill out the contact form with:
    - Customer name: John Doe
    - Telephone: 555-123-4567
    - Email: john.doe@example.com
    - Size: Medium
    - Topping: cheese
    - Delivery time: now
    - Comments: This is a test form submission
    
    Then submit the form and tell me what response you get.
    """

	# Create and run the agent
	agent = Agent(task=task, llm=llm)
	await agent.run()


if __name__ == '__main__':
	asyncio.run(main())
Licença

Complete original source file unchanged; editorial title, context and prerequisites added. No installation, account operation, model call, form submission or claimed result was executed.

MIT License

Copyright (c) 2024 Gregor Zunic

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Exemplo de uso

Browser Use source example: collect five attributed quotes

Full original Python script asks quotes.toscrape.com for five quotes, authors and tags in a structured answer. Requires a compatible Browser Use Python environment, dotenv, browser setup and BROWSER_USE_API_KEY for the source bu-2-0-mini-preview model. Repository-relative path setup and source model spelling are unchanged; model availability is not established. This is the author’s recipe, not returned search results, a submitted form or an extracted dataset.

Entrada de exemplo

"""
Getting Started Example 3: Data Extraction

This example demonstrates how to:
- Navigate to a website with structured data
- Extract specific information from the page
- Process and organize the extracted data
- Return structured results

This builds on previous examples by showing how to get valuable data from websites.

Setup:
1. Get your API key from https://cloud.browser-use.com/new-api-key
2. Set environment variable: export BROWSER_USE_API_KEY="your-key"
"""

import asyncio
import os
import sys

# Add the parent directory to the path so we can import browser_use
sys.path.append(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))

from dotenv import load_dotenv

load_dotenv()

from browser_use import Agent, ChatBrowserUse


async def main():
	# Initialize the model
	llm = ChatBrowserUse(model='bu-2-0-mini-preview')

	# Define a data extraction task
	task = """
    Go to https://quotes.toscrape.com/ and extract the following information:
    - The first 5 quotes on the page
    - The author of each quote
    - The tags associated with each quote
    
    Present the information in a clear, structured format like:
    Quote 1: "[quote text]" - Author: [author name] - Tags: [tag1, tag2, ...]
    Quote 2: "[quote text]" - Author: [author name] - Tags: [tag1, tag2, ...]
    etc.
    """

	# Create and run the agent
	agent = Agent(task=task, llm=llm)
	await agent.run()


if __name__ == '__main__':
	asyncio.run(main())
Licença

Complete original source file unchanged; editorial title, context and prerequisites added. No installation, account operation, model call, form submission or claimed result was executed.

MIT License

Copyright (c) 2024 Gregor Zunic

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Visão geral do produto

Browser agents and cloud browsers: the most-starred open-source browser agent, stealth cloud browsers at $0.02/browser-hour and Browser Harness. SOC 2 Type II, on-prem, US and EU. $1 free.

Texto original da fonte · EN
RECURSOS LISTADOS NA FONTE

O que o Browser Use oferece

  1. 01Run agents against browser tasks
  2. 02Connect custom agents to cloud browsers
  3. 03Build with an open-source browser agent library
Texto original da fonte · EN
O que o diferencia

O que o diferencia

The hosted agent service and browser infrastructure are distinct offerings. Browser sessions, model calls and traffic can carry separate costs; verify the applicable plan for your workload.

Texto original da fonte · EN
Para quem é indicado

Para quem é indicado

  • Developers automating browser workflows
  • Teams building browser-based agents
Texto original da fonte · EN
ANTES DE ESCOLHER

O que confirmar

  • Experimente uma tarefa real e compare o resultado com os seus requisitos.
  • Verifique que dados são guardados, partilhados ou usados para treino.
  • Confirme preços, limites de utilização e condições de cancelamento no site oficial.
Última verificação

Link oficial verificado em 9 de nov. de 2026. Os recursos não foram testados de forma independente.

Relacionados por tarefa

ProdutosPreçoAcessoCASOS DE USO
Browser UsePlanos grátis e pagosAPIAutomatizar fluxos de trabalho
BrowserbasePagoAPIAutomatizar fluxos de trabalho · Pesquisar um tema
Merge DevGrátisAPIAutomatizar fluxos de trabalho
ploriNão verificadoAPIAutomatizar fluxos de trabalho · Pesquisar um tema
scoutNão verificadoAPIAutomatizar fluxos de trabalho · Pesquisar um tema