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