title: Specifying Windows Versions (or Specific Machines) in Selenium Grid
body: <p>I'm setting up a Selenium Grid in order to cover a test matrix that needs to comprehensively cover the following combinations:  Three servers (windows server 2003, 2008, and 2012) that provide identical services and ten clients (of flavors XP, win7, win8, and win8.1) that will be accessing each of the three servers to perform nearly identical tests.  The three servers part is most likely irrelevant to this question, but I threw it in for context's sake.  I'm configuring which servers to use via TestNG DataProviders.</p>
  
  <p>The catch is that I want to test the interactions not just between different browsers and browser versions and operating systems, but also all four versions of windows.</p>
  
  <p>From what I can tell the DesiredCapabilities class will only allow me to specify between between XP, VISTA, and WINDOWS enums.  I have found this question and it has been answered <a href="https://stackoverflow.com/questions/7901171/selenium-grid-capabilities-and-platform-windows7">Selenium Grid: Capabilities and Platform.WINDOWS7?</a></p>
  
  <p>However I wanted to post a new question for three reasons.  It deals with an old version of selenium.  I'm using 2.39.0 and the solution references version 2.15.  Also, I have four windows platforms, so I can't use the suggested solution unless I gut out part of my test matrix.  That is undesirable, but not impossible.  Finally, while I have a decent understanding of the trick being used, my understanding of how overriding the enum might affect my tests is pretty big unknown.</p>
  
  <p>One possible workaround I've thought of depends on how the enum is used.  If it just uses the enum to search all the nodes to find a machine that has been set up with some specified capability I could assign any of the remaining platform flags to my fourth OS profile.  For instance, assign the XP flag to winXP, WINDOWS flag to win7, VISTA to win8, and finally the UNIX flag to win8.1.  But if the enum is used for more intense purposes I'm up the proverbial creek.  Also, defining a windows box with a UNIX platform flag just seems like bad programming practice, even if it were to work just fine.</p>
  
  <p>I guess what I really want is way to tell the grid "Run this test on the machine with this IP address" rather than "run this test on a machine that matches these capabilities."  Has this functionality been added to selenium, or is there a workaround I'm missing?</p>
  
  <p>Thanks,</p>
  
  <p>Jon</p>