public void AcceptTermsAndConditions() { Thread.Sleep(1000); AgreeButton.Click(); }
public void AcceptTerms() { _driver.SwitchTo().Frame(ConsentIframe); AgreeButton.Click(); _driver.SwitchTo().DefaultContent(); }