From 0e8147bbf699b889ed5cdaa4bfbd6b5b9b60caff Mon Sep 17 00:00:00 2001 From: Danny Tuppeny Date: Wed, 4 Sep 2019 18:13:26 +0100 Subject: [PATCH] Return process from start() --- lib/src/chrome.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/chrome.dart b/lib/src/chrome.dart index c1c4084..6bc975e 100644 --- a/lib/src/chrome.dart +++ b/lib/src/chrome.dart @@ -113,11 +113,11 @@ class Chrome { /// Starts Chrome with the given arguments. /// /// Each url in [urls] will be loaded in a separate tab. - static Future start( + static Future start( List urls, { List args = const [], }) async { - await _startProcess(urls, args: args); + return await _startProcess(urls, args: args); } static Future _startProcess(