public void SwitchToFrame(IWebDriver driver) { PrintActionInfo(nameof(SwitchToFrame)); Execute(frame => { BorderHighlight.Highlight(frame, Color.Green); driver.SwitchTo().Frame(frame); }, driver); }
public void SendKeys(string textToInput, IWebDriver driver) { WaitElementDisplayed(driver); PrintActionInfo(nameof(SendKeys)); Execute(input => { BorderHighlight.Highlight(input, Color.Blue); input.SendKeys(textToInput); }, driver); }
public void Click(IWebDriver driver) { WaitElementDisplayed(driver); PrintActionInfo(nameof(Click)); Execute(button => { BorderHighlight.Highlight(button, Color.Red); button.Click(); }, driver); }