public <T extends WizardWindow> T addResource(Class<T> clazz, String label) { clickButton(label); T wizard = Console.withBrowser(browser).openedWizard(clazz); return wizard; }
public void pickHost(String label) { AdvancedSelectBox picker = getHostPicker(); picker.pickOption(label); Console.withBrowser(browser).waitUntilFinished(); }