/// <summary> /// collapse passage reading levels /// </summary> public void CollapsePassageReadingLevels() { PassageReadingLevelsContainer.FakeAttributeClass = "display: block;"; if (PassageReadingLevelsContainer.WaitUntilExists(3).GetAttribute("class").Equals("block")) { PassageReadingLevelsLink.Wait(3).Click(); } }
/// <summary> /// expand passage reading levels /// </summary> public void ExpandPassageReadingLevels() { PassageReadingLevelsContainer.FakeCssValueStyle = "display: none;"; if (PassageReadingLevelsContainer.WaitUntilExists(3).GetAttribute("class").Contains("none")) { PassageReadingLevelsLink.Wait(3).Click(); } }