protected override void Do(IEvent e) { if (e.Data.Count < 2) { return; } FillDataTask.Execute(WebAutomationHelper.FindControlByID(e.Webbrowser, e.Data[0]), e.Data[1]); }
protected override void Do(IEvent e) { if (e.Data.Count < 2) { return; } FillDataTask.Execute(WebAutomationHelper.ParseElementByXPath(e.Webbrowser.Document.Body, e.Data[0]), e.Data[1]); }