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