It should look something like this:
BrowserWindow.CurrentBrowser = "firefox";
BrowserWindow bw = BrowserWindow.Launch(new Uri("uriAsString"));
// At this point, it should launch firefox if you have the current cross-browser
// components installed and the expected version of firefox (I have 26)
You said:
The problem is that I want to choose the browser I want to use to test my applications, so I want to change the field "currentBrowser" but I cannot have access to this property because is a static member property.
Static does not prevent access. It means you do not need an instance of that object to access the property/method. If you look at the class via the object browser you will see this:
public static string CurrentBrowser { get; set; }
So we know we have access to it because it's public. We can get the value and set the value because it contains get;
and set;
with no hiding access modifiers.