Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pkgs/browser_launcher/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 1.2.0-wip

- Add `--test-type` flag when launching chrome to prevent some warnings.
- Add `--test-type` and `--disable-session-crashed-bubble` flags when launching
chrome to prevent some warnings.

## 1.1.3

Expand Down
3 changes: 3 additions & 0 deletions pkgs/browser_launcher/lib/src/chrome.dart
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,9 @@ class Chrome {
// Prevent warnings for using flags that are not recommended for general
// browsing but are applicable for use in dev-focused workflows.
'--test-type',
// Dev runs of the browser should be considered independent of one
// another, don't announce when the previous session crashed.
'--disable-session-crashed-bubble',
];
if (headless) {
args.add('--headless');
Expand Down
Loading