public AjaxElementLocator(IClock clock, ISearchContext searchContext, int timeOutInSeconds, AttributesHandler attributesHandler)
     : base(searchContext, attributesHandler)
 {
     this.clock            = clock;
     this.timeOutInSeconds = timeOutInSeconds;
 }
 public AjaxElementLocator(ISearchContext searchContext, AttributesHandler attributesHandler)
     : this(searchContext, DefaultTimeout, attributesHandler)
 {
 }
 public AjaxElementLocator(ISearchContext searchContext, int timeOutInSeconds, AttributesHandler attributesHandler)
     : this(new SystemClock(), searchContext, timeOutInSeconds, attributesHandler)
 {
 }
Beispiel #4
0
 public DefaultElementLocator(ISearchContext searchContext, AttributesHandler attributesHandler)
 {
     this.searchContext = searchContext;
     this.shouldCache   = attributesHandler.ShouldCache();
     this.by            = attributesHandler.BuildBy();
 }