Esempio n. 1
0
 protected override void ExecuteWhen(IActor actor)
 {
     actor.Execute(JsClick.On(ToDoPage.RemoveToDoItemButton.Of(item)));
 }
Esempio n. 2
0
 public static IAction <Unit> RemoveToDoItem(string title)
 {
     return(new DefaultCompositeAction($"Remove the to-do item {title}",
                                       Open.TheApplication(),
                                       JsClick.On(ToDoPage.RemoveToDoItemButton.Of(title))));
 }