public abstract class AbstractEcmascriptService extends AbstractService implements IEcmaScriptDebugger
| Constructor and Description |
|---|
AbstractEcmascriptService(ScopeServices services,
String version) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUpRuntimes()
Cleanup runtimes with the active window id
|
String |
executeJavascript(String using)
Execute a script and wait for response
|
String |
executeJavascript(String using,
boolean responseExpected)
Execute a script, this method allows fine tuning of responses, we are not interested in return
value in some injections
|
void |
setDriver(OperaDriver driver)
Set the driver this service belongs to.
|
buildPayload, executeCommand, executeCommand, executeCommand, getVersion, isVersionInRange, xpathIterator, xpathPointerequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRuntime, callFunctionOnObject, callFunctionOnObject, changeRuntime, changeRuntime, cleanUpRuntimes, examineObjects, examineScriptResult, executeJavascript, executeScript, executeScriptOnObject, getObject, getRuntimeId, init, listFramePaths, readyStateChanged, releaseObject, releaseObjects, removeRuntime, resetFramePath, resetRuntimesList, scriptExecutor, setRuntime, updateRuntimepublic AbstractEcmascriptService(ScopeServices services, String version)
public void setDriver(OperaDriver driver)
IEcmaScriptDebuggersetDriver in interface IEcmaScriptDebuggerpublic String executeJavascript(String using)
IEcmaScriptDebuggerexecuteJavascript in interface IEcmaScriptDebuggerusing - script to executepublic String executeJavascript(String using, boolean responseExpected)
IEcmaScriptDebuggerexecuteJavascript in interface IEcmaScriptDebuggerusing - script to executeresponseExpected - if true parse the responsepublic void cleanUpRuntimes()
IEcmaScriptDebuggercleanUpRuntimes in interface IEcmaScriptDebugger