Example usage for org.openqa.selenium.support.events.internal EventFiringMouse EventFiringMouse

List of usage examples for org.openqa.selenium.support.events.internal EventFiringMouse EventFiringMouse

Introduction

In this page you can find the example usage for org.openqa.selenium.support.events.internal EventFiringMouse EventFiringMouse.

Prototype

public EventFiringMouse(WebDriver driver, WebDriverEventListener dispatcher) 

Source Link

Usage

From source file:com.prototest.appdriver.EventFiringWebDriver.java

License:Apache License

public Mouse getMouse() {
    if (driver instanceof HasInputDevices) {
        return new EventFiringMouse(driver, dispatcher);
    } else {//from ww w .j a  va  2s . c  o m
        throw new UnsupportedOperationException(
                "Underlying driver does not implement advanced" + " user interactions yet.");
    }
}