public override async Task<bool> Drive(WindowDriveRoute window) { return await Task.Run(() => { return this.Driver.Drive(window); }); }
public bool Drive(WindowDriveRoute window) { Debug_n("Driving window elements...", "window title : “{0}”", _find.Window1.Title); foreach (dynamic step in window.Steps) { if (!this.Drive(step)) return false; } return Debug_n("Successfully driven all elements.", "Defined route has {0:step}.", window.Steps.Count); }
public abstract Task<bool> Drive(WindowDriveRoute window);