com.opera.core.systems.testing.drivers
Interface OperaDriverSupplier

All Superinterfaces:
com.google.common.base.Supplier<OperaDriver>
All Known Implementing Classes:
AbstractOperaDriverSupplier, DefaultOperaDriverSupplier, TestOperaDriverSupplier

public interface OperaDriverSupplier
extends com.google.common.base.Supplier<OperaDriver>

OperaDriverSupplier extends the Google Guava Supplier interface to make it possible to specify capabilities on a supplier. A driver supplier allows easy construction of differently configured drivers.

Author:
Andreas Tolf Tolfsen
See Also:
OperaDriverBuilder

Method Summary
 org.openqa.selenium.Capabilities getCapabilities()
          Gets the capabilities of this supplier.
 OperaSettings getSettings()
          Gets the settings of this supplier.
 void setCapabilities(org.openqa.selenium.Capabilities capabilities)
          Changes the capabilities for this supplier.
 void setSettings(OperaSettings settings)
          Changes the settings for this supplier.
 
Methods inherited from interface com.google.common.base.Supplier
get
 

Method Detail

setSettings

void setSettings(OperaSettings settings)
Changes the settings for this supplier.

Parameters:
settings - new settings

getSettings

OperaSettings getSettings()
Gets the settings of this supplier.

Returns:
a set of settings

setCapabilities

void setCapabilities(org.openqa.selenium.Capabilities capabilities)
Changes the capabilities for this supplier.

Parameters:
capabilities - new capabilities

getCapabilities

org.openqa.selenium.Capabilities getCapabilities()
Gets the capabilities of this supplier.

Returns:
a set of capabilities


Copyright © 2012. All Rights Reserved.