List of usage examples for org.openqa.selenium.support.events.internal EventFiringKeyboard EventFiringKeyboard
public EventFiringKeyboard(WebDriver driver, WebDriverEventListener dispatcher)
From source file:com.prototest.appdriver.EventFiringWebDriver.java
License:Apache License
public Keyboard getKeyboard() { if (driver instanceof HasInputDevices) { return new EventFiringKeyboard(driver, dispatcher); } else {/* ww w.j av a 2s. c o m*/ throw new UnsupportedOperationException( "Underlying driver does not implement advanced" + " user interactions yet."); } }