Skip to content
pubscout

browser_launcher

1.2.0, released 3 months ago by tools.dart.dev

Provides a standardized way to launch web browsers for testing and tools.

$ flutter pub add browser_launcher
Source repository

What it does

Provides a standardized way to launch web browsers for testing and development tools. Currently supports launching Chrome with customizable flags, arguments, and debug ports.

AI-written summary of version 1.2.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to programmatically launch a web browser from your Dart tools or test environments
  • You are building testing tools that require interacting with Chrome via debug ports

Skip it when

  • You need to display web content inside your mobile or desktop application UI
  • You need a solution that supports multiple non-Chrome web browsers out of the box

Strengths

  • Allows passing arbitrary command-line arguments and custom user-data directories when starting Chrome
  • Supports debug port attachment for browser inspection

Weaknesses

  • Currently, Chrome is the only supported browser
  • Limited documentation and examples provided in the README

Setup

Kind
Pure Dart
Effort
Low
Code generation
No
Direct dependencies
3

requires Chrome installed on the host system

not documented

Works with

Packages commonly used together with browser_launcher: ones it builds on, ones built on it, and its own family.