protected void ExecuteScript(JavaScript scriptName, params object[] arguments) { ActionRetrier.DoWithRetry(() => Browser.ExecuteScript(scriptName, ResolveArguments(arguments))); }
protected virtual T DoWithRetry <T>(Func <T> function) { return(ActionRetrier.DoWithRetry(function)); }
protected T ExecuteScript <T>(JavaScript scriptName, params object[] arguments) { return(ActionRetrier.DoWithRetry(() => Browser.ExecuteScript <T>(scriptName, ResolveArguments(arguments)))); }
protected virtual void DoWithRetry(Action action) { ActionRetrier.DoWithRetry(action); }