public class ScopeCore extends AbstractService implements Core
servicesSERVICE_NAME| Constructor and Description |
|---|
ScopeCore(ScopeServices services) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearPrivateData(List<CoreProtos.ClearFlags> flags)
Clears specified browser data.
|
void |
clearPrivateData(OperaDriver.PrivateData... flags) |
String |
getBinaryPath()
The full path of the currently running binary.
|
String |
getCoreVersion()
Which Core version this instance is running, e.g.
|
String |
getOperatingSystem()
Gets a string which describes the operating system the connected Opera instance is running on.
|
Integer |
getProcessID()
Gets the process ID of connected Opera instance.
|
String |
getProduct()
A string which describes the product.
|
String |
getUserAgent()
Gets the User-Agent string, typically something like
"Opera/9.80 (Windows NT 6.1; U; en) Presto/2.7.62 Version/11.01"
|
void |
init()
Initialize the service.
|
buildPayload, executeMessage, executeMessage, executeMessage, getServiceName, getServiceVersion, isVersionInRange, sleep, toString, xpathIterator, xpathPointerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetServiceName, getServiceVersionpublic ScopeCore(ScopeServices services)
public void init()
Servicepublic String getCoreVersion()
CoregetCoreVersion in interface Corepublic String getOperatingSystem()
CoregetOperatingSystem in interface Corepublic String getProduct()
CoregetProduct in interface Corepublic String getBinaryPath()
CoregetBinaryPath in interface Corepublic String getUserAgent()
CoregetUserAgent in interface Corepublic Integer getProcessID()
CoregetProcessID in interface Corepublic void clearPrivateData(List<CoreProtos.ClearFlags> flags)
CoreclearPrivateData in interface Coreflags - list of private data to be clearedpublic void clearPrivateData(OperaDriver.PrivateData... flags)
Copyright © 2012. All Rights Reserved.