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