public void ClickOptionsToggle() { Helper.waitForElementToBeDisplayed(Driver, OptionsToggleButton); OptionsToggleButton.Click(); var wait = new WebDriverWait(Driver, TimeSpan.FromSeconds(60)); wait.Until(d => { return(OptionsPanel.GetAttribute("style").Contains("-180px;")); }); }
public bool IsOptionsPanelDisplayed() { return(!OptionsPanel.GetAttribute("style").Contains("-180px;")); }