public override Element FindByXPath(string xpath)
        {
            var byStrategy    = new ByXPathStrategy(xpath);
            var nativeElement = _nativeElementFinderService.Find(byStrategy);

            return(new WebElement(_webDriver, nativeElement, byStrategy.Convert()));
        }
        public override List <Element> FindAllByXPath(string xpath)
        {
            var byStrategy     = new ByXPathStrategy(xpath);
            var nativeElements = _nativeElementFinderService.FindAll(byStrategy);
            var resultElements = new List <Element>();

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