示例#1
0
        public void ReportOnElementEventFiring(string browser)
        {
            string path = CreateReportPath();

            InitDriver(browser);
            LoadSimpleTestPage();

            WebDriver = new EventFiringWebDriver(WebDriver);
            Wait      = new WebDriverWait(WebDriver, TimeSpan.FromSeconds(20));

            var mainElement = Wait.Until(drv => drv.FindElement(By.CssSelector(mainElementSelector)));

            WebDriver.CreateAxeHtmlReport(mainElement, path);

            ValidateReport(path, 3, 14, 0, 75);
        }