title: Issue with Selenium Grid
body: <p>I am trying to get selenium grid working for the first time.</p>
  
  <p>In the setup i have the following</p>
  
  <pre><code>            Driver = new ChromeDriver(AppDomain.CurrentDomain.BaseDirectory + "../../../Drivers");
  
              DesiredCapabilities capabilities = new DesiredCapabilities();
              capabilities = DesiredCapabilities.Chrome();
              capabilities.SetCapability(CapabilityType.BrowserName, "chrome");
              capabilities.SetCapability(CapabilityType.Platform, new Platform(PlatformType.Windows));
  
              Driver = new RemoteWebDriver(new Uri("http://localhost:4444/wd/hub"), capabilities);
  </code></pre>
  
  <p>This is in c# using XUNIT and executed using resharper.</p>
  
  <p>I get the error in visual studio </p>
  
  <pre><code>OpenQA.Selenium.WebDriverException
  Unexpected error. 
  at OpenQA.Selenium.Remote.RemoteWebDriver.UnpackAndThrowOnError(Response 
  errorResponse)
  at OpenQA.Selenium.Remote.RemoteWebDriver.Execute(String 
  driverCommandToExecute, Dictionary`2 parameters)
  at OpenQA.Selenium.Remote.RemoteWebDriver.StartSession(ICapabilities 
  desiredCapabilities)
  at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(ICommandExecutor 
  commandExecutor, ICapabilities desiredCapabilities)
  at OpenQA.Selenium.Remote.RemoteWebDriver..ctor(Uri remoteAddress, 
  ICapabilities desiredCapabilities)
  at MoneyUITests.Methods.General.StartBrowserDriver() in 
  C:\Projects\Money_AT\MoneyUITests\Methods\General.cs:line 276
  at MoneyUITests.Tests.Navigation.NavigationExecuteTests..ctor() in 
  C:\Projects\XXXX\XXXX\Tests\Navigation\NavigationTests.cs:line 
  36
  </code></pre>
  
  <p>In the console, i get the following error</p>
  
  <pre><code>2017-11-06 17:08:35.821:WARN:osjs.HttpChannel:qtp22982090-131: 
  /wd/hub/session
  java.io.IOException: org.openqa.grid.common.exception.GridException: Cannot 
  extract a capabilities from the request: {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"WINDOWS","javascriptEnabled":true},"capabilities":{"firstMatch":[{"browserName":"chrome","javascriptEnabled":true}]}}
      at org.openqa.grid.web.servlet.DriverServlet.process(DriverServlet.java:135)
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Caused by: org.openqa.grid.common.exception.GridException: Cannot extract a capabilities from the request: {"desiredCapabilities":{"browserName":"chrome","version":"","platform":"WINDOWS","javascriptEnabled":true},"capabilities":{"firstMatch":[{"browserName":"chrome","javascriptEnabled":true}]}}
  </code></pre>
  
  <p>and</p>
  
  <pre><code>Caused by:java.lang.IllegalArgumentException: Illegal key values seen in w3c capabilities: [javascriptEnabled]
  </code></pre>
  
  <p>This is my first attempt to work with selenium grid, any guides or tips will be extremely appreciated.</p>
  
  <p>I followed this guide - <a href="https://seleniumautomation84.wordpress.com/2014/08/06/selenium-grid-fundamentals-implemented-in-c/" rel="nofollow noreferrer">https://seleniumautomation84.wordpress.com/2014/08/06/selenium-grid-fundamentals-implemented-in-c/</a></p>
  
  <p>Thanks in advance</p>