title: Javascript Selenium Internet Explorer 11 Options
body: <p>I currently have my selenium <strong>javascript</strong> test set up with the chromedriver configuration below: </p>
  
  <pre><code>const {Builder, By, Key, until} = require('..');    
  const  webdriver = require('selenium-webdriver');
  var driver = new webdriver.Builder().forBrowser('chrome').build();
  </code></pre>
  
  <p>I followed the instructions that tell you to insert the IEDriverServer.exe in your PATH which I have done and confirmed it is the correct location and file naem.  I have also added in the DWORD registry as the same tutorial tells me. All my configuration is correct but I think I am making some assumptions about how things are run with chrome vs. internet explorer.  </p>
  
  <p>Here's what I'm doing to run my IE Test, please correct me if I am wrong: 
  new configuration code: 
      const {Builder, By, Key, until} = require('..');    </p>
  
  <pre><code>const  webdriver = require('selenium-webdriver');
  var driver = new webdriver.Builder().forBrowser('internet explorer').build();
  </code></pre>
  
  <ol>
  <li>Start Selenium Server java -jar selenium-server-standalone-3.9.0.jar in command prompt</li>
  <li>Start IEDriverServer.exe in another window by double clicking the  .exe file</li>
  <li>In a 3rd command prompt window, cd to my folder where my tests and drivers are located and run the test using "node test2.js" </li>
  </ol>
  
  <p>I  get the following error message:</p>
  
  <pre><code>Error: ECONNREFUSED connect ECONNREFUSED 127.0.0.1:60381
      at ClientRequest.&lt;anonymous&gt; (&lt;file path omitted&gt;\index.js:244:15)
      at emitOne (events.js:116:13)
      at ClientRequest.emit (events.js:211:7)
      at Socket.socketErrorListener (_http_client.js:387:9)
      at emitOne (events.js:116:13)
      at Socket.emit (events.js:211:7)
      at emitErrorNT (internal/streams/destroy.js:64:8)
      at _combinedTickCallback (internal/process/next_tick.js:138:11)
      at process._tickCallback (internal/process/next_tick.js:180:9)
  </code></pre>
  
  <p>Any help is appreciated. Thank you!</p>