//[Ignore("Reason")] public void DoSomethingElseAgainOnAWebPageWithSelenium2() { var guineaPigPage = new GuineaPigPage(Driver, "https://saucelabs.com/"); // read the useragent string off the page var useragent = guineaPigPage.GetUserAgent(); useragent.ShouldNotBeNull(); }
public void UserAgentPresent([ValueSource(typeof(SaucePlatform), "GetPlatforms")] SaucePlatform platform) { Setup(platform); var guineaPigPage = new GuineaPigPage(Driver, "https://saucelabs.com/"); // read the useragent string off the page var useragent = guineaPigPage.GetUserAgent(); Assert.IsNotNull(useragent); }
//[Ignore("Need OpenSauce")] public void DoSomethingElseAgainOnAWebPageWithSelenium() { //Console.WriteLine("In DoSomethingElseAgainOnAWebPageWithSelenium"); //Console.WriteLine(Driver == null ? "Driver is null" : "Driver good"); var guineaPigPage = new GuineaPigPage(Driver, "https://saucelabs.com/"); // read the useragent string off the page var useragent = guineaPigPage.GetUserAgent(); useragent.ShouldNotBeNull(); }