//[Ignore("Reason")] public void DoSomethingElseOnAWebPageWithSelenium2() { var guineaPigPage = new GuineaPigPage(Driver, "https://saucelabs.com/"); // find and click the link on the page guineaPigPage.ClickLink(); // verify the browser was navigated to the correct page Driver.Url.ShouldContain("saucelabs.com/test-guinea-pig2.html"); }
public void LinkWorks([ValueSource(typeof(SaucePlatform), "GetPlatforms")] SaucePlatform platform) { Setup(platform); var guineaPigPage = new GuineaPigPage(Driver, "https://saucelabs.com/"); // find and click the link on the page guineaPigPage.ClickLink(); // verify the browser was navigated to the correct page Assert.IsTrue(Driver.Url.Contains("saucelabs.com/test-guinea-pig2.html")); }
//[Ignore("Need OpenSauce")] public void DoSomethingElseOnAWebPageWithSelenium() { //Console.WriteLine("In DoSomethingElseOnAWebPageWithSelenium"); //Console.WriteLine(Driver == null ? "Driver is null" : "Driver good"); var guineaPigPage = new GuineaPigPage(Driver, "https://saucelabs.com/"); // find and click the link on the page guineaPigPage.ClickLink(); // verify the browser was navigated to the correct page Driver.Url.ShouldContain("saucelabs.com/test-guinea-pig2.html"); }