public void ListElementTest() { driver.Navigate().GoToUrl("https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/deployment"); var anchorsList = new ListElement(By.XPath("//a[@class='local-anchor']")); anchorsList.GetItems().ForEach(anchor => anchor.Click()); Thread.Sleep(3500); }