JavaScriptExecutorFactory

Functions

Link copied to clipboard
abstract fun create(): JavaScriptExecutor
Link copied to clipboard
abstract fun 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

Link copied to clipboard
abstract fun stopSamplingProfiler(filename: String)

Stops the Sampling profile