From 0e5d866b10cf2d07115a44403403541c8da93cd9 Mon Sep 17 00:00:00 2001 From: fspinillo Date: Fri, 23 Apr 2021 10:42:20 -0400 Subject: [PATCH] add chromedriver.stop call for when there is no application running --- lib/application.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/application.js b/lib/application.js index 912267100..63e01991b 100644 --- a/lib/application.js +++ b/lib/application.js @@ -75,6 +75,7 @@ Application.prototype.stop = function () { const self = this; if (!self.isRunning()) { + self.chromeDriver.stop() return Promise.reject(Error('Application not running')); }