Example usage for org.openqa.selenium.remote DriverCommand CLICK

List of usage examples for org.openqa.selenium.remote DriverCommand CLICK

Introduction

In this page you can find the example usage for org.openqa.selenium.remote DriverCommand CLICK.

Prototype

String CLICK

To view the source code for org.openqa.selenium.remote DriverCommand CLICK.

Click Source Link

Usage

From source file:com.mycompany.myproject.sample.simple.DemoEventFiringListener.java

License:Apache License

public void beforeEvent(Command command) {
    if (command.getName().equalsIgnoreCase(DriverCommand.CLICK)) {
        System.out.println("Before click");
    }
}

From source file:com.mycompany.myproject.sample.simple.DemoEventFiringListener.java

License:Apache License

public void afterEvent(Command command) {
    if (command.getName().equalsIgnoreCase(DriverCommand.CLICK)) {
        System.out.println("After click");
    }
}