We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a26cd64 commit de24ee6Copy full SHA for de24ee6
test/chromedriver_utils.dart
@@ -12,7 +12,11 @@ Future<void> startChromeDriver() async {
12
try {
13
final chromeDriver = await Process.start(
14
'chromedriver', ['--port=4444', '--url-base=wd/hub']);
15
- addTearDown(chromeDriver.kill);
+ addTearDown(() {
16
+ if (!chromeDriver.kill()) {
17
+ chromeDriver.kill(ProcessSignal.sigkill);
18
+ }
19
+ });
20
21
// On windows this takes a while to boot up, wait for the first line
22
// of stdout as a signal that it is ready.
0 commit comments