private void CheckTreeItems(IBrowserWrapperFluentApi browser, int level, int count) { browser.FindElements($"[data-ui='offset_{level}']").ThrowIfDifferentCountThan(count); }
private static void CheckIfInnerTextEqualsToOne(IBrowserWrapperFluentApi browser, string dataUi) { browser.FindElements($"[data-ui='{dataUi}']").First().CheckIfInnerTextEquals(1.ToString()); }