Viewing version 1.1.3. Open the latest package page.

browser_launcher

1.1.3

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

Download archive

Readme

Build Status pub package package publisher

Provides a standardized way to launch web browsers.

Currently, Chrome is the only supported browser; support for other browsers may be added in the future.

Changelog

1.1.3

  • Move to dart-lang/tools monorepo.

1.1.2

  • Require Dart 3.4
  • Log errors from chrome
  • Allow tests to detect headless-only environment (for CI).
  • Add extra flags that may help disable additional throttling in background tabs
  • Add --use-mock-keychain flag to avoid blocking dialog on MacOS.

1.1.1

  • Populate the pubspec repository field.

1.1.0

  • Add optional signIn argument to startWithDebugPort. To be used together with user-data-dir to start a Chrome window signed in to the default profile with extensions enabled.
  • Enable the avoid_dynamic_calls lint.

1.0.0

  • Migrate to null-safety.

0.1.10

  • Support webkit_inspection_protocol version ^1.0.0.

0.1.9

  • Add support for Chrome executables in CHROME_PATH.

0.1.8

  • Log STDERR on Chrome launch failure.

0.1.7

  • Widen the dependency range on package:webkit_inspection_protocol.

0.1.6

  • Update lower Dart SDK requirement to 2.2.0.
  • Update the dependency range on package:webkit_inspection_protocol.

0.1.5

  • Add a parameter to use a specified user-data-dir instead of a system temp.

0.1.4

  • Start Chrome maximized.

0.1.3

  • widen the version constraint on package:webkit_inspection_protocol

0.1.2

  • lower min sdk version to match Flutter stable

0.1.1

  • added example

0.1.0

  • initial release

Installing

export PUB_HOSTED_URL=https://pub.mirror.p-hatan.com
flutter pub add 'browser_launcher:1.1.3'
pubspec.yaml
name: browser_launcher
version: 1.1.3
description: Provides a standardized way to launch web browsers for testing and tools.
repository: https://github.com/dart-lang/tools/tree/main/pkgs/browser_launcher

environment:
  sdk: ^3.4.0

dependencies:
  logging: ^1.0.0
  path: ^1.8.0
  webkit_inspection_protocol: ^1.0.0

dev_dependencies:
  dart_flutter_team_lints: ^3.0.0
  test: ^1.17.3

Version history

VersionPublishedArchiveSHA-256
0.1.0On demandDownload505c0f64…927716
0.1.1On demandDownload46ee7c9d…9633f1
0.1.2On demandDownloadc9220f02…f13382
0.1.3On demandDownload5b7d7793…0f248e
0.1.4On demandDownload482fcdb9…afc1e8
0.1.5On demandDownloada8ff7776…8609f2
0.1.6On demandDownloadb6a3dd27…4c0969
0.1.7On demandDownload11b86347…317c46
0.1.8On demandDownloadf4b88d27…8869da
0.1.9On demandDownloadd67eb467…fea0da
0.1.10On demandDownloaddbd503d8…30217b
1.0.0On demandDownload794b56ad…ce289b
1.1.0On demandDownload91b00b83…35258f
1.1.1On demandDownload6ee4c6b1…ffa4ec
1.1.2On demandDownload54a2da4d…a91734
1.1.3Cached · Upstream SHA-256 matchedDownloadca255766…cd6c67
1.2.0On demandDownload3b81cb3b…06a990

Dependencies

logging "^1.0.0"

path "^1.8.0"

webkit_inspection_protocol "^1.0.0"