WebElement element = driver.findElement(By.id("myElement"));
JavascriptLibrary javascript = new JavascriptLibrary();
javascript.callEmbeddedSelenium(driver, "triggerEvent", element, "blur");
Ref:https://groups.google.com/forum/?fromgroups#!topic/selenium-users/jk59XG2TQk8
JavascriptLibrary javascript = new JavascriptLibrary();
javascript.callEmbeddedSelenium(driver, "triggerEvent", element, "blur");
Ref:https://groups.google.com/forum/?fromgroups#!topic/selenium-users/jk59XG2TQk8
No comments:
Post a Comment