public void CheckBrowserChrome_ChromeVersion37OnMacOS_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"; var browser = new UserAgentMock(agent); // Act browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeOnMobile_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Linux; Android 4.4.2; GT-N7100 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Mobile Safari/537.36 "; var browser = new UserAgentMock(agent); // Action browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeVersion37OnPC_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36"; var browser = new UserAgentMock(agent); // Act browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeOnTablet_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JWR66Y) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.72 Safari/537.36"; var browser = new UserAgentMock(agent); // Action browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeOnMobile_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Linux; Android 4.4.2; GT-N7100 Build/KOT49H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.133 Mobile Safari/537.36 "; var browser = new UserAgentMock(agent); // Action browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeVersion37OnMacOS_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2062.124 Safari/537.36"; var browser = new UserAgentMock(agent); // Act browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeVersion37OnPC_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/37.0.2049.0 Safari/537.36"; var browser = new UserAgentMock(agent); // Act browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }
public void CheckBrowserChrome_ChromeOnTablet_ExpectedChrome() { // Arrange var agent = "Mozilla/5.0 (Linux; Android 4.3; Nexus 7 Build/JWR66Y) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.72 Safari/537.36"; var browser = new UserAgentMock(agent); // Action browser.CheckChrome(); // Assert Assert.AreEqual(Browser.Chrome, browser.BrowserName); }