public interface OperaUtils
| Modifier and Type | Method and Description |
|---|---|
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.
|
Integer |
getPID()
The ID of the process we're currently talking to.
|
org.openqa.selenium.Platform |
getPlatform()
The platform currently used.
|
OperaProduct |
getProduct()
Gets the current product.
|
String |
getUserAgent()
The User-Agent string.
|
String getCoreVersion()
org.openqa.selenium.Platform getPlatform()
OperaProduct getProduct()
OperaProduct.DESKTOP. Other examples are OperaProduct.MOBILE and OperaProduct.CORE.String getBinaryPath()
String getUserAgent()
Opera/9.80 (Windows NT 6.1; U; en)
Presto/2.7.62 Version/11.01.Integer getPID()
void clearPrivateData(OperaDriver.PrivateData... flags)
flags - a variable list of flags can be used, or the value ALL to clean all stored dataCopyright © 2013. All Rights Reserved.