title: Enable localStorage / webStorage in nightwatch.js
body: <p>I am trying to test an app that relies on localStorage. Everything works fine when I interact with the browser manually. However, in <code>nightwatch.js</code> instead of the desired string I get a null response when requesting localStorage. This applies both in Chrome and Firefox.</p>
  
  <p>I already tried to enable localStore in the nightwatch JSON by assigning <code>"webStorageEnabled" : true</code> in <code>desiredCapabilities</code> like this:</p>
  
  <pre><code>{
    "src_folders" : ["tests/functional/tests"],
    "output_folder" : "tests/functional/reports",
    "custom_commands_path" : "",
    "custom_assertions_path" : "",
    "globals_path" : "",
  
    "selenium" : {
      "start_process" : true,
      "server_path" : "/Library/WebDevelopment/selenium-server/selenium-server-standalone-2.45.0.jar",
      "log_path" : "",
      "host" : "127.0.0.1",
      "port" : 4444,
      "cli_args" : {
        "webdriver.chrome.driver" : "/usr/local/lib/node_modules/chromedriver/lib/chromedriver/chromedriver",
        "webdriver.ie.driver" : ""
      }  
    },
  
    "test_settings" : {
      "default" : {
        "launch_url" : "http://localhost",
        "selenium_port"  : 4444,
        "selenium_host"  : "localhost",
        "silent": true,
        "screenshots" : {
          "enabled" : false,
          "path" : ""
        },
        "desiredCapabilities": {
          "browserName": "chrome",
          "webStorageEnabled" : true,
          "databaseEnabled" : true,
          "applicationCacheEnabled" : true,
          "nativeEvents" : true,
          "javascriptEnabled": true,
          "acceptSslCerts": true
        }
      } 
  }
  </code></pre>
  
  <p>Is <code>localStorage</code> supposed to work when using <code>nightwatch.js</code>?</p>