Esempio n. 1
0
 private void WebDriverListener_ElementClicked(object sender, OpenQA.Selenium.Support.Events.WebElementEventArgs e)
 {
     LogScreenshot($"{e.Element} clicked");
 }
Esempio n. 2
0
 private void WebDriverListener_ElementClicking(object sender, OpenQA.Selenium.Support.Events.WebElementEventArgs e)
 {
     LogMessage($"Clicking on the {e.Element.TagName} `{e.Element.Text}` {e.Element}");
 }
Esempio n. 3
0
        public static void WebDriverListener_ElementClicked(object sender, OpenQA.Selenium.Support.Events.WebElementEventArgs e)

        {
            LogScreenshot(e.Driver as ChromeDriver, $"{e.Element} clicked");
        }