public class EventFiringCommandExecutor extends Object implements org.openqa.selenium.remote.CommandExecutor
CommandExecutor
and calls the instance of EventListener
before and
after each command gets executedConstructor 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
EventListener s |
public EventFiringCommandExecutor(org.openqa.selenium.remote.CommandExecutor commandExecutor, List<EventListener> listeners)
protected List<EventListener> getListeners()
EventListener
sprotected void setListeners(List<EventListener> listeners)
EventListener
slisteners
- the EventListener
s to setprotected org.openqa.selenium.remote.CommandExecutor getCommandExecutor()
CommandExecutor
protected void setCommandExecutor(org.openqa.selenium.remote.CommandExecutor commandExecutor)
CommandExecutor
commandExecutor
- 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.CommandExecutor
IOException
Copyright © 2016 PayPal Open Source. All rights reserved.