I have IWebElements defined like this:
[FindsBy(How = How.Id, Using = "actionHistoryBtn")]
private IWebElement actionHistoryButtons;
But the only way I have been able to find elements with the same Id is by doing this:
private ReadOnlyCollection<IWebElement> actionHistoryButtons => driver.FindElements(By.Id("actionHistoryBtn"));
Is there a way I can create a collection in the same format? Or how I can modify this to get all elements using "WhateverId" Or is the ReadOnlyCollection the only way to get all the elements?