title: Error using Selenium JS Chrome Webdriver
body: <p>I like to use Selenium chromewebdriver for testing an application.</p>
  
  <p>I started with this Tutorial: <a href="https://code.google.com/p/selenium/wiki/WebDriverJs#Getting_Started" rel="nofollow">https://code.google.com/p/selenium/wiki/WebDriverJs#Getting_Started</a></p>
  
  <p>I downloaded newest <code>webdriver</code> and added it to path, then I tried to execute the sample code you see under getting started. I added the code to a script and tried to execute it with <code>&gt; node script.js</code> and got the following error message: </p>
  
  <pre><code>undefined:1178
  vlog(2, () =&gt; this + ' scheduling notifications', this);
           ^
  SyntaxError: Unexpected token )
  at goog.loadModuleFromSource_ (C:\nodescripts\node_modules\selenium-webdriver\lib\goog\base.js:1123:19)
  at Object.goog.loadModule (C:\nodescripts\node_modules\selenium-webdriver\lib\goog\base.js:1085:46)
  at C:\nodescripts\node_modules\selenium-webdriver\lib\webdriver\promise.js:1:6
  at Object.exports.runInContext (vm.js:64:17)
  at Object.Context.closure.goog.retrieveAndExecModule_ (C:\nodescripts\node_modules\selenium-webdriver\_base.js:135:8)
  at &lt;anonymous&gt;:1:6
  at Object.exports.runInContext (vm.js:64:17)
  at Context.closure.closure.vm.createContext.CLOSURE_IMPORT_SCRIPT (C:\nodescripts\node_modules\selenium-webdriver\_base.js:104:12)
  at Object.goog.importScript_ (C:\nodescripts\node_modules\selenium-webdriver\lib\goog\base.js:879:9)
  at Object.goog.importModule_ (C:\nodescripts\node_modules\selenium-webdriver\lib\goog\base.js:900:14)
  </code></pre>