Skip to content

focused-dot-io/browser-use-screenshotter-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browser Use Screenshotter Example

This is a stripped down example of how to take full page screenshots with Chrome DevTools Protocol when using browser-use.

For more context, see ABOUT.md.

Setup

  1. Install dependencies:
uv sync
  1. Set up environment variables:
cp example.env .env
  1. Edit .env and add your OpenAI API key:
OPENAI_API_KEY=your_api_key_here

Usage

uv run python main.py <URL>

Example:

uv run python main.py https://example.com

Screenshots are saved to the screenshots/ directory.

About

Example showing a custom Browser-use action to capture full‑page screenshots via CDP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages