com.opera.core.systems.settings
Class OperaDriverSettings

java.lang.Object
  extended by com.opera.core.systems.settings.OperaDriverSettings

Deprecated. Use DesiredCapabilites instead.

@Deprecated
public class OperaDriverSettings
extends java.lang.Object

Stores settings for OperaDriver.

Author:
Deniz Turkoglu

Constructor Summary
OperaDriverSettings()
          Deprecated.  
 
Method Summary
 boolean doRunOperaLauncherFromOperaDriver()
          Deprecated.  
 boolean getAutostart()
          Deprecated.  
 org.openqa.selenium.Capabilities getCapabilities()
          Deprecated.  
 boolean getNoQuit()
          Deprecated.  
 boolean getNoRestart()
          Deprecated.  
 java.lang.String getOperaBinaryArguments()
          Deprecated.  
 java.lang.String getOperaBinaryLocation()
          Deprecated.  
 java.lang.String getOperaLauncherBinary()
          Deprecated.  
 int getOperaLauncherListeningPort()
          Deprecated.  
 java.lang.Integer getOperaLauncherXvfbDisplay()
          Deprecated.  
 java.lang.String getProfile()
          Deprecated.  
 boolean getUseOperaIdle()
          Deprecated.  
 boolean guessOperaPath()
          Deprecated.  
 void setAutostart(boolean autostart)
          Deprecated. Whether OperaDriver should try and automatically launch Opera.
 void setGuessOperaPath(boolean guess)
          Deprecated.  
 void setNoQuit(boolean noQuit)
          Deprecated. If set then launcher will not close Opera when OperaDriver finishes, and it quits.
 void setNoRestart(boolean noRestart)
          Deprecated.  
 void setOperaBinaryArguments(java.lang.String operaBinaryArguments)
          Deprecated. Set the arguments that will be passed to Opera.
 void setOperaBinaryLocation(java.lang.String operaBinaryLocation)
          Deprecated. Set the path to the of Opera.
 void setOperaLauncherBinary(java.lang.String operaLauncherBinary)
          Deprecated. Set the location of the Opera launcher binary.
 void setOperaLauncherListeningPort(int operaLauncherPort)
          Deprecated.  
 void setOperaLauncherXvfbDisplay(java.lang.Integer operaLauncherXvfbDisplay)
          Deprecated. Set the *nix display to start Opera on.
 void setProfile(java.lang.String profile)
          Deprecated. Set which profile (desktop, smartphone, etc.) to use.
 void setRunOperaLauncherFromOperaDriver(boolean runOperaLauncherFromOperaDriver)
          Deprecated.  
 void setUseOperaIdle(boolean useOperaIdle)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperaDriverSettings

public OperaDriverSettings()
Deprecated. 
Method Detail

getCapabilities

public org.openqa.selenium.Capabilities getCapabilities()
Deprecated. 

doRunOperaLauncherFromOperaDriver

public boolean doRunOperaLauncherFromOperaDriver()
Deprecated. 

setRunOperaLauncherFromOperaDriver

public void setRunOperaLauncherFromOperaDriver(boolean runOperaLauncherFromOperaDriver)
Deprecated. 

Set whether OperaDriver should start Opera launcher. Defaults to true. Set to false if you will start Opera launcher manually.

Parameters:
runOperaLauncherFromOperaDriver - true to start Opera launcher, false to not.

getOperaLauncherListeningPort

public int getOperaLauncherListeningPort()
Deprecated. 


setOperaLauncherListeningPort

public void setOperaLauncherListeningPort(int operaLauncherPort)
Deprecated. 

Set the port for Opera launcher to listen on. Defaults to port 9999.

Parameters:
operaLauncherPort - port number to listen on

getOperaLauncherBinary

public java.lang.String getOperaLauncherBinary()
Deprecated. 

setOperaLauncherBinary

public void setOperaLauncherBinary(java.lang.String operaLauncherBinary)
Deprecated. 
Set the location of the Opera launcher binary.

Parameters:
operaLauncherBinary - the absolute path to the Opera launcher.

getOperaBinaryLocation

public java.lang.String getOperaBinaryLocation()
Deprecated. 

setOperaBinaryLocation

public void setOperaBinaryLocation(java.lang.String operaBinaryLocation)
Deprecated. 
Set the path to the of Opera.

Parameters:
operaBinaryLocation - the absolute path to Opera.

getOperaBinaryArguments

public java.lang.String getOperaBinaryArguments()
Deprecated. 

setOperaBinaryArguments

public void setOperaBinaryArguments(java.lang.String operaBinaryArguments)
Deprecated. 
Set the arguments that will be passed to Opera.

For example: opera -nosession opera:debug to start without restoring a session (on *nix systems), and load the opera:debug page in a tab.

Parameters:
operaBinaryArguments - the arguments to pass, separated by spaces.

getOperaLauncherXvfbDisplay

public java.lang.Integer getOperaLauncherXvfbDisplay()
Deprecated. 

setOperaLauncherXvfbDisplay

public void setOperaLauncherXvfbDisplay(java.lang.Integer operaLauncherXvfbDisplay)
Deprecated. 
Set the *nix display to start Opera on. This will be concatenated with ":" e.g. passing 1 will result in the command line option -display :1 being passed.

Parameters:
operaLauncherXvfbDisplay - the X screen number to start Opera on.

setNoQuit

public void setNoQuit(boolean noQuit)
Deprecated. 
If set then launcher will not close Opera when OperaDriver finishes, and it quits.

Parameters:
noQuit -

getNoQuit

public boolean getNoQuit()
Deprecated. 
Returns:

setNoRestart

@Deprecated
public void setNoRestart(boolean noRestart)
Deprecated. 

Parameters:
noRestart -

getNoRestart

@Deprecated
public boolean getNoRestart()
Deprecated. 

Returns:

setGuessOperaPath

public void setGuessOperaPath(boolean guess)
Deprecated. 

guessOperaPath

public boolean guessOperaPath()
Deprecated. 

setUseOperaIdle

public void setUseOperaIdle(boolean useOperaIdle)
Deprecated. 

getUseOperaIdle

public boolean getUseOperaIdle()
Deprecated. 

setAutostart

public void setAutostart(boolean autostart)
Deprecated. 
Whether OperaDriver should try and automatically launch Opera.

Parameters:
autostart - true to autostart, false to wait for connection

getAutostart

public boolean getAutostart()
Deprecated. 

setProfile

public void setProfile(java.lang.String profile)
Deprecated. 
Set which profile (desktop, smartphone, etc.) to use.

Parameters:
profile - The profile name.

getProfile

public java.lang.String getProfile()
Deprecated. 
Returns:
The profile name to use.


Copyright © 2011. All Rights Reserved.