public void ClickPrevious(bool toNewUrl, string nextPageUrl) { WaitElementClickable("RAR_PreviousSection"); RAR_PreviousSection.Click(); if (toNewUrl) { browser.Driver.Url = nextPageUrl; } }
public bool IsPreviousButtonEnabled() { return(!RAR_PreviousSection.GetAttribute("class").ToLower().Contains("disabled")); }