public void SetUp_ByBrowserVersion_Unsupported(string browserName, string version) { var builder = DriverSetup.Configure(browserName) .ByBrowserVersion(version); Assert.Throws <DriverSetupException>(() => builder.SetUp()); }
public void SetUp_WithVersion(string browserName, string version) { var result = DriverSetup.Configure(browserName) .WithVersion(version) .SetUp(); AssertDriverIsSetUp(result, browserName, version); }
public void SetUp_WithLatestVersion(string browserName) { var result = DriverSetup.Configure(browserName) .WithLatestVersion() .SetUp(); AssertDriverIsSetUp(result, browserName); AssertVersionCache(browserName); }
public void SetUp_WithAutoVersion_WithX32Architecture(string browserName) { var result = DriverSetup.Configure(browserName) .WithAutoVersion() .WithX32Architecture() .SetUp(); AssertDriverIsSetUp(result, browserName, architecture: Architecture.X32); AssertVersionCache(browserName); }