public void DoOnFindOneOrMoreElementsWithException(string findElementTypeMethodName, By by, WebDriverException e) { string newMessage = e.Message + " {\"method\":\"" + findElementTypeMethodName + "\",\"params\":\"" + by + "\"}"; WebDriverException wrappedException = new WebDriverException(newMessage, e); dataExchangeEntryHelper.SendEntryThrow(WebDrivers.GetURL(driver), WebDrivers.GetTitle(driver), wrappedException, findElementTypeMethodName, WebDrivers.GetAdvancedValues(driver, config)); }
public void DoOnSetUrlWithException(WebDriverException e, string url) { string methodName = "setUrl"; string newMessage = e.Message + " {\"method\":\"" + methodName + "\",\"params\":\"" + url + "\"}"; WebDriverException wrappedException = new WebDriverException(newMessage, e); dataExchangeEntryHelper.SendEntryThrow(WebDrivers.GetURL(driver), WebDrivers.GetTitle(driver), wrappedException, methodName, WebDrivers.GetAdvancedValues(driver, config)); }
public void AfterSetUrl() { dataExchangeEntryHelper.SendEntry(WebDrivers.GetURL(driver), WebDrivers.GetTitle(driver), "setUrl", WebDrivers.GetAdvancedValues(driver, config)); }