public class EventFiringCommandExecutor extends Object implements org.openqa.selenium.remote.CommandExecutor
CommandExecutor and calls the instance of EventListener before and
after each command gets executed| Constructor and Description |
|---|
EventFiringCommandExecutor(org.openqa.selenium.remote.CommandExecutor commandExecutor,
List<EventListener> listeners) |
| Modifier and Type | Method and Description |
|---|---|
org.openqa.selenium.remote.Response |
execute(org.openqa.selenium.remote.Command command) |
protected org.openqa.selenium.remote.CommandExecutor |
getCommandExecutor() |
protected List<EventListener> |
getListeners() |
protected void |
setCommandExecutor(org.openqa.selenium.remote.CommandExecutor commandExecutor)
Set the
CommandExecutor |
protected void |
setListeners(List<EventListener> listeners)
Set the
EventListeners |
public EventFiringCommandExecutor(org.openqa.selenium.remote.CommandExecutor commandExecutor,
List<EventListener> listeners)
protected List<EventListener> getListeners()
EventListenersprotected void setListeners(List<EventListener> listeners)
EventListenerslisteners - the EventListeners to setprotected org.openqa.selenium.remote.CommandExecutor getCommandExecutor()
CommandExecutorprotected void setCommandExecutor(org.openqa.selenium.remote.CommandExecutor commandExecutor)
CommandExecutorcommandExecutor - the CommandExecutor to setpublic org.openqa.selenium.remote.Response execute(org.openqa.selenium.remote.Command command)
throws IOException
execute in interface org.openqa.selenium.remote.CommandExecutorIOExceptionCopyright © 2016 PayPal Open Source. All rights reserved.