com.opera.core.systems.testing.drivers
Class AbstractOperaDriverSupplier
java.lang.Object
com.opera.core.systems.testing.drivers.AbstractOperaDriverSupplier
- All Implemented Interfaces:
- com.google.common.base.Supplier<OperaDriver>, OperaDriverSupplier
- Direct Known Subclasses:
- DefaultOperaDriverSupplier
public abstract class AbstractOperaDriverSupplier
- extends Object
- implements OperaDriverSupplier
Implements shared functionality across the various OperaDriverSupplier implementations.
Specifically it allows you to get and set the capabilities for a particular driver supplier.
- Author:
- Andreas Tolf Tolfsen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.google.common.base.Supplier |
get |
settings
protected OperaSettings settings
capabilities
protected org.openqa.selenium.Capabilities capabilities
AbstractOperaDriverSupplier
public AbstractOperaDriverSupplier()
AbstractOperaDriverSupplier
public AbstractOperaDriverSupplier(OperaSettings settings)
setSettings
public void setSettings(OperaSettings newSettings)
- Description copied from interface:
OperaDriverSupplier
- Changes the settings for this supplier.
- Specified by:
setSettings in interface OperaDriverSupplier
- Parameters:
newSettings - new settings
getSettings
public OperaSettings getSettings()
- Description copied from interface:
OperaDriverSupplier
- Gets the settings of this supplier.
- Specified by:
getSettings in interface OperaDriverSupplier
- Returns:
- a set of settings
setCapabilities
public void setCapabilities(org.openqa.selenium.Capabilities newCapabilities)
- Description copied from interface:
OperaDriverSupplier
- Changes the capabilities for this supplier.
- Specified by:
setCapabilities in interface OperaDriverSupplier
- Parameters:
newCapabilities - new capabilities
getCapabilities
public org.openqa.selenium.Capabilities getCapabilities()
- Description copied from interface:
OperaDriverSupplier
- Gets the capabilities of this supplier.
- Specified by:
getCapabilities in interface OperaDriverSupplier
- Returns:
- a set of capabilities
Copyright © 2012. All Rights Reserved.