Ejemplo n.º 1
0
 public AjaxElementLocator(IClock clock, ISearchContext searchContext, int timeOutInSeconds, AttributesHandler attributesHandler)
     : base(searchContext, attributesHandler)
 {
     this.clock            = clock;
     this.timeOutInSeconds = timeOutInSeconds;
 }
Ejemplo n.º 2
0
 public AjaxElementLocator(ISearchContext searchContext, int timeOutInSeconds, AttributesHandler attributesHandler)
     : this(new SystemClock(), searchContext, timeOutInSeconds, attributesHandler)
 {
 }
Ejemplo n.º 3
0
 public DefaultElementLocator(ISearchContext searchContext, AttributesHandler attributesHandler)
 {
     this.searchContext = searchContext;
     this.shouldCache   = attributesHandler.ShouldCache();
     this.by            = attributesHandler.BuildBy();
 }
Ejemplo n.º 4
0
 public AjaxElementLocator(ISearchContext searchContext, AttributesHandler attributesHandler)
     : this(searchContext, DefaultTimeout, attributesHandler)
 {
 }
Ejemplo n.º 5
0
 public DefaultElementLocator(ISearchContext searchContext, AttributesHandler attributesHandler)
 {
     this.searchContext = searchContext;
     this.shouldCache = attributesHandler.ShouldCache();
     this.by = attributesHandler.BuildBy();
 }