Очень тяжело писать код без страницы, но попробую))
string id = project.Variables["your_id"].Value;
HtmlElementCollection hes = instance.ActiveTab.FindElementsByAttribute("div", "class", "flex-column", "text");
HtmlElement he = null;
int index = -1;
for (int i = 0; i < hes.Count; i++) {
he =...