private StubElement StubButtonToBeClicked(string locator) { var buttonToBeClicked = new StubElement(); buttonToBeClicked.SetId(Guid.NewGuid().ToString()); driver.StubButton(locator, buttonToBeClicked); return(buttonToBeClicked); }
private StubElement StubLinkToBeClicked(string someLinkLocator) { var linkToBeClicked = new StubElement(); linkToBeClicked.SetId(Guid.NewGuid().ToString()); driver.StubLink(someLinkLocator, linkToBeClicked); return(linkToBeClicked); }