I am having different names on the website with similar class name. i want to parse all the names in the page and to paste as a text list in box using selenium and c#.
I tried using findelement but it paste’s only first name. I don’t know how to use findelements. try to help
var txt1 = Driver.FindElement(By.ClassName("header")).Text;
var value = Regex.Split(txt1, @"W");
richTextBox1.Text = value;
Source link https://sqa.stackexchange.com/questions/35461/i-want-to-select-list-of-similar-class-name-in-a-web-page-using-findelements-se