From 4d22ea297b7fa4d265cc16c014531109f7529c12 Mon Sep 17 00:00:00 2001 From: Jonathan Lipps Date: Mon, 2 Feb 2015 11:11:32 -0800 Subject: [PATCH] chromedriver 2.14 requires sigint to exit, sigterm doesn't kill it --- lib/devices/android/chromedriver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/devices/android/chromedriver.js b/lib/devices/android/chromedriver.js index be389ccf3..8061f166f 100644 --- a/lib/devices/android/chromedriver.js +++ b/lib/devices/android/chromedriver.js @@ -238,9 +238,9 @@ Chromedriver.prototype.deleteSession = function (cb) { }; Chromedriver.prototype.stop = function (cb) { - logger.debug('Killing chromedriver'); + logger.debug('Killing chromedriver and waiting for close'); this.exitCb = cb; - this.proc.kill(); + this.proc.kill('SIGINT'); }; Chromedriver.prototype.proxyTo = proxyTo;