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