|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.opera.core.systems.OperaDriver.OperaUtils
public class OperaDriver.OperaUtils
Interface for accessing the browser's meta- and utility information.
| Constructor Summary | |
|---|---|
OperaDriver.OperaUtils()
|
|
| Method Summary | |
|---|---|
void |
clearPrivateData(OperaDriver.PrivateData... flags)
Clear private data stored by Opera by type of data or by all. |
String |
getBinaryPath()
The full path to the currently running binary. |
String |
getCoreVersion()
Which Core version this instance of the browser is using, e.g. |
String |
getOS()
A string which describes the operating system, e.g. |
Integer |
getPID()
The ID of the process we're currently talking to. |
OperaProduct |
getProduct()
Gets the current product. |
String |
getUserAgent()
The User-Agent string. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public OperaDriver.OperaUtils()
| Method Detail |
|---|
public String getCoreVersion()
public String getOS()
public OperaProduct getProduct()
OperaProduct.DESKTOP Other examples are OperaProduct.MOBILE and OperaProduct.CORE.
public String getBinaryPath()
public String getUserAgent()
Opera/9.80 (Windows NT 6.1; U; en)
Presto/2.7.62 Version/11.01.
public Integer getPID()
public void clearPrivateData(OperaDriver.PrivateData... flags)
flags - a variable list of flags can be used, or the value ALL to clean all stored data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||