class WebDriverDispatcher (View source)

Properties

protected array $listeners
protected EventFiringWebDriver $driver

Methods

$this
setDefaultDriver(EventFiringWebDriver $driver)

this is needed so that EventFiringWebElement can pass the driver to the exception handling

getDefaultDriver()

No description

$this
register(WebDriverEventListener $listener)

No description

$this
unregister(WebDriverEventListener $listener)

No description

$this
dispatch(mixed $method, mixed $arguments)

No description

Details

$this setDefaultDriver(EventFiringWebDriver $driver)

this is needed so that EventFiringWebElement can pass the driver to the exception handling

Parameters

EventFiringWebDriver $driver

Return Value

$this

null|EventFiringWebDriver getDefaultDriver()

No description

Return Value

null|EventFiringWebDriver

$this register(WebDriverEventListener $listener)

No description

Parameters

WebDriverEventListener $listener

Return Value

$this

$this unregister(WebDriverEventListener $listener)

No description

Parameters

WebDriverEventListener $listener

Return Value

$this

$this dispatch(mixed $method, mixed $arguments)

No description

Parameters

mixed $method
mixed $arguments

Return Value

$this