I'm using selenium WebDriver syntax. I know, that in selenium server-based syntax, you can fire an javascript event by doing:
Selenium selenium = new DefaultSelenium("localhost", server.getPort(),
"*iexplore", "http://www.eviltester.com");
selenium.fireEvent("lteq30", "blur");
how do I do the same in an application, created with WebDriver (for example, FirefoxDriver)?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…