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 List <Element> FindAllByClass(string cssClass)
        {
            var findStrategy   = new ClassFindStrategy(cssClass);
            var nativeElements = _elementFinderService.FindAll(findStrategy);
            var resultElements = new List <Element>();

            foreach (var nativeElement in nativeElements)
            {
                resultElements.Add(new WebElement(_webDriver, nativeElement, findStrategy.Convert()));
            }
            return(resultElements);
        }