List<WebDriverBrowser> browsers = new ArrayList<WebDriverBrowser>();
browsers.add(new HTMLUnitBrowser(1));
CustomWDConfiguration cc = new CustomWDConfiguration(5002, -1, browsers, null);
getPlugin().getGlobalConfigurations().add(new SeleniumGlobalConfiguration("test", new NodeLabelMatcher("foolabel"), cc));
Mailer.descriptor().setHudsonUrl(getURL().toExternalForm());
// HtmlPage newSlave = submit(new WebClient().goTo("configure").getFormByName("config"));
DumbSlave slave = new DumbSlave("foo", "dummy", createTmpDir().getPath(), "1", Mode.NORMAL, "foolabel", createComputerLauncher(null),
RetentionStrategy.NOOP, new ArrayList<NodeProperty<Node>>());