title: Using Selenium to test Safari gives GridException
body: <p>I am using the code from this site (http://darrellgrainger.blogspot.com/2011/02/using-selenium-20-with-webdriver-and.html) to run Selenium tests in Safari 5. The code goes like this:</p>
  
  <pre><code>Selenium sel = new DefaultSelenium("localhost", 4444, "*safari", baseURL);
  CommandExecutor executor = new SeleneseCommandExecutor(sel);
  DesiredCapabilities dc = new DesiredCapabilities();
  WebDriver browser = new RemoteWebDriver(executor, dc);
  
  browser.get("http://www.google.com");
  WebElement input = browser.findElement(By.name("q"));
  input.sendKeys("Selenium");
  </code></pre>
  
  <p>So I start a Selenium server standalone version on the localhost machine and I register a test node (also on localhost) to the Selenium hub. Then I start the test. I then get the following exception: org.openqa.selenium.WebDriverException: Could not start Selenium session: org%2Eopenqa%2Egrid%2Ecommon%2Eexception%2EGridException%3A+Error+forwarding+the+new+session+The+server+returned+an+error+%3A+</p>
  
  <p>I don't know what error. There is no server output on the console. Does anyone have ideas? I used the newest version (2.17.0) of Selenium.</p>
  
  <p>EDIT: I just tried "firefox" instead of safari and it outputs the same exception. So actually it's not the fault of safari. Maybe there is something wrong with executing Selenium 1 code via the grid?</p>