public override Element FindByClass(string cssClass) { var findStrategy = new ClassFindStrategy(cssClass); var nativeElement = _elementFinderService.Find(findStrategy); return(new WebElement(_webDriver, nativeElement, findStrategy.Convert())); }
public override Element Find(FindStrategy findStrategy) { var nativeElement = _elementFinderService.Find(findStrategy); return(new WebElement(_webDriver, nativeElement, findStrategy.Convert())); }