List of usage examples for org.openqa.selenium.support.events.internal EventFiringTouch EventFiringTouch
public EventFiringTouch(WebDriver driver, WebDriverEventListener dispatcher)
From source file:com.prototest.appdriver.EventFiringWebDriver.java
License:Apache License
public TouchScreen getTouch() { if (driver instanceof HasTouchScreen) { return new EventFiringTouch(driver, dispatcher); } else {// w ww .ja v a2 s. c o m throw new UnsupportedOperationException( "Underlying driver does not implement advanced" + " user interactions yet."); } }