public interface EvaluatorListener<T>
protected void configure() {
install(commonModule());
[...]
seleniumSessions()
.register(provider)
.add(new EvaluatorListenerAdapter<Selenium>() {
public void afterStart(final Selenium session) {
// customize session
// setup here your custom cartridge
}
});
}
We strongly recommend that classes which need to receive callback of
object startup extend the adapter class EvaluatorListenerAdapter
insead of implementing this interface.
| Modifier and Type | Method and Description |
|---|---|
void |
afterStart(T object)
Callback method called after having started the implementation
|
void |
afterStop(T object)
Callback method called after having started the implementation
|
void |
beforeStart(T object)
Callback method called before starting the implementation
|
void |
beforeStop(T object)
Callback method called before starting the implementation
|
void beforeStart(T object)
object - The implementation object (Selenium session, WebDriver, ...)void afterStart(T object)
object - The implementation object (Selenium session, WebDriver, ...)void beforeStop(T object)
object - The implementation object (Selenium session, WebDriver, ...)void afterStop(T object)
object - The implementation object (Selenium session, WebDriver, ...)Copyright © 2008-2011 Ovea. All Rights Reserved.