tags:

views:

19

answers:

0

I'm trying to get Selenium to work with Mono. I downloaded the VM from Mono (http://www.mono-project.com/VMware_Image) and Selenium RC. I am trying to use this simple code:

using System;
using Selenium;

namespace SeleniumTest1
{
 class MainClass
 {
  public static void Main (string[] args)
  {
   ISelenium selenium = new DefaultSelenium("localhost", 4444, "*firefox3", "http://localhost:4444");
            selenium.Start();
   selenium.Open("http://www.google.com");
  }
 }
}

The resulting error is: Unhandled Exception: Selenium.SeleniumException: Failed to start new browser session: Error while launching browser This is being thrown from selenium.Start()