public void ThenTheSetsTreeShouldBeDisplayed(string sets) { SeleniumPage.TreeElement(sets) .Should().BeFound().Then() .Branches.Should().AllBeFound() .Then().SelectMany(x => x.ChildBranches) .Should().AllBeFound() .Then().SelectMany(x => x.ChildBranches) .Should().AllBeFound(); }