From 64497959eb9f2edab2d9dd6fb4269f8385f9e8b0 Mon Sep 17 00:00:00 2001 From: Benjamin Dreux Date: Fri, 24 Jan 2014 23:23:04 -0500 Subject: [PATCH] Update ievm.coffee Use another wayt to start IE, in order to get the correct CORS (maybe other) config --- src/ievm.coffee | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ievm.coffee b/src/ievm.coffee index ed4fa6f..18bb0e8 100644 --- a/src/ievm.coffee +++ b/src/ievm.coffee @@ -203,9 +203,9 @@ class IEVM @ensureRunning().then => @waitForNetwork().then => @debug "open: #{url}" if wait - return @exec 'C:\\Program Files\\Internet Explorer\\iexplore.exe', url + return @exec 'explore', url @exec 'cmd.exe', '/c', 'start', - 'C:\\Program Files\\Internet Explorer\\iexplore.exe', url + 'explore', url # Close running IE windows in the virtual machine, failing silently if IE is # not currently running. @@ -531,4 +531,4 @@ class IEVM Q.delay(delay).then => @waitForNetwork host, retries - 1, delay if retries > 0 -module.exports = IEVM \ No newline at end of file +module.exports = IEVM