Esempio n. 1
0
 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));
 }
Esempio n. 3
0
 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);
 }