class PhantomRunner extends ExtRunner with AbstractPhantomRunner
- Attributes
- protected
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PhantomRunner
- AbstractPhantomRunner
- ExtRunner
- JSRunner
- AbstractExtRunner
- JSInitFiles
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PhantomRunner(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
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
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] )
-
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
- AbstractPhantomRunner → JSInitFiles
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
run(logger: Logger, console: JSConsole): Unit
- Definition Classes
- ExtRunner → JSRunner
-
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
startVM(): Process
- Attributes
- protected
- Definition Classes
- AbstractExtRunner
-
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