public void GoToNextPage() { if (NextPage.isEnabled()) { NextPage.Click(); } else { BRLogger.LogInfo("User is on the Last page."); } }
public void GoToNextPage(int count) { for (int i = 0; i < count; i++) { if (NextPage.isEnabled()) { NextPage.Click(); } else { BRLogger.LogInfo("User is on the Last page."); break; } } }
public void IsLastPage() { BRLogger.AssertIsTrue(!NextPage.isEnabled(), "User is on the Last Page"); }