SauceSession { public SauceSession withPlatform(String operatingSystem) { this.operatingSystem = operatingSystem; return this; } SauceSession();  SauceSession(RemoteDriverInterface remoteManager); SauceSession start(); MutableCapabilities getCapabilities(); MutableCapabilities getSauceOptions(); void setBrowserOptions(String browserName); SauceSession withChrome(); SauceSession withFirefox(); RemoteDriverInterface getDriverManager(); MutableCapabilities getSauceOptionsCapability(); WebDriver getDriver(); SauceSession withMacOsMojave(); SauceSession withMacOsHighSierra(); SauceSession withBrowserVersion(String browserVersion); SauceSession withEdge(); SauceSession withIE(); SauceSession withPlatform(String operatingSystem); SauceSession withBrowser(String browserName, String browserVersion); SauceSession withBrowser(String browserName); SauceSession withTestName(String testName); SauceSession withBuildName(String buildName); void stop(); void passed(); void failed(); void setTestName(String testName); void setBuildTag(String buildTag); void setBuild(String build); public SauceApi test; public MutableCapabilities capabilities; }
@Test @Ignore("Future enhancement") public void withOs_linux_allowsOnlyChromeOrFirefox() { sauceSession.withPlatform("Linux"); }
@Test @Ignore("Future enhancement") public void withOs_windows10_doesntAllowSafari() throws MalformedURLException { sauceSession.withPlatform("Windows 10"); }
@Test @Ignore("Future enhancement") public void withOs_windows8_1_allowsOnlyChromeOrFfOrIe() { sauceSession.withPlatform("Windows 8.1"); }
@Test @Ignore("Future enhancement") public void withOs_windows8_allowsOnlyChromeOrFfOrIe() { sauceSession.withPlatform("Windows 8"); }
@Test @Ignore("Future enhancement") public void withOs_mac_allowsOnlyChromeOrFfOrSafari() { sauceSession.withPlatform("Windows 8"); }