public interface JavaScriptExecutorFactory
| Modifier and Type | Method and Description |
|---|---|
JavaScriptExecutor |
create() |
void |
startSamplingProfiler()
Starts the sampling profiler for this specific JavaScriptExecutor Sampling profiler is usually
a singleton on the runtime, hence the method exists here and not in
JavaScriptExecutor |
void |
stopSamplingProfiler(java.lang.String filename)
Stops the Sampling profile
|
JavaScriptExecutor create() throws java.lang.Exception
java.lang.Exceptionvoid startSamplingProfiler()
JavaScriptExecutorvoid stopSamplingProfiler(java.lang.String filename)
filename - The filename where the results of the sampling profiler are dumped to