class ComPhantomRunner extends AsyncPhantomRunner with ComJSRunner
- Attributes
- protected
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- ComPhantomRunner
- ComJSRunner
- AsyncPhantomRunner
- AbstractPhantomRunner
- AsyncExtRunner
- AsyncJSRunner
- AbstractExtRunner
- JSInitFiles
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new ComPhantomRunner(files: Seq[VirtualJSFile])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
final
def
await(atMost: Duration): Unit
- Definition Classes
- AsyncJSRunner
-
final
def
await(): Unit
- Definition Classes
- AsyncJSRunner
-
final
def
awaitOrStop(atMost: Duration): Unit
- Definition Classes
- AsyncJSRunner
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
close(): Unit
- Definition Classes
- ComPhantomRunner → ComJSRunner
-
val
codeCache: VirtualFileMaterializer
- Attributes
- protected[this]
- Definition Classes
- AbstractPhantomRunner
-
def
console: JSConsole
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
createTmpLauncherFile(): File
- Attributes
- protected
- Definition Classes
- AbstractPhantomRunner
-
def
createTmpWebpage(): File
- Attributes
- protected
- Definition Classes
- AbstractPhantomRunner
-
final
def
customInitFiles(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
val
files: Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
future: Future[Unit]
- Definition Classes
- AsyncExtRunner → AsyncJSRunner
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
getJSFiles(): Seq[VirtualJSFile]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
getVMArgs(): Seq[String]
- Attributes
- protected
- Definition Classes
- AbstractPhantomRunner → AbstractExtRunner
-
def
getVMEnv(): Map[String, String]
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
initFiles(): Seq[VirtualJSFile]
PhantomJS doesn't support Function.prototype.bind.
PhantomJS doesn't support Function.prototype.bind. We polyfill it. https://github.com/ariya/phantomjs/issues/10522
- Attributes
- protected
- Definition Classes
- ComPhantomRunner → AbstractPhantomRunner → JSInitFiles
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isRunning(): Boolean
- Definition Classes
- AsyncJSRunner
-
def
logger: Logger
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
pipeToConsole(in: InputStream, console: JSConsole): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
pipeVMData(vmInst: Process): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
receive(timeout: Duration): String
- Definition Classes
- ComPhantomRunner → ComJSRunner
-
final
def
receive(): String
- Definition Classes
- ComJSRunner
-
def
send(msg: String): Unit
- Definition Classes
- ComPhantomRunner → ComJSRunner
-
final
def
sendJS(files: Seq[VirtualJSFile], out: Writer): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
final
def
sendJS(files: Seq[VirtualJSFile], out: OutputStream): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
sendVMStdin(out: OutputStream): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
setupLoggerAndConsole(logger: Logger, console: JSConsole): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
start(logger: Logger, console: JSConsole): Future[Unit]
- Definition Classes
- ComPhantomRunner → AsyncExtRunner → AsyncJSRunner
-
def
startExternalJSEnv(): Unit
- Attributes
- protected
- Definition Classes
- AsyncExtRunner
-
def
startVM(): Process
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
stop(): Unit
- Definition Classes
- ComJSRunner → AsyncJSRunner
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
waitForVM(vmInst: Process): Unit
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
def
writeJSFile(file: VirtualJSFile, writer: Writer): Unit
In phantom.js, we include JS using HTML
In phantom.js, we include JS using HTML
- Attributes
- protected
- Definition Classes
- AbstractPhantomRunner → AbstractExtRunner
-
def
writeWebpageLauncher(out: Writer): Unit
- Attributes
- protected
- Definition Classes
- AbstractPhantomRunner