class PhantomJSEnv extends ExternalJSEnv with ComJSEnv
- Alphabetic
- By Inheritance
- PhantomJSEnv
- ComJSEnv
- ExternalJSEnv
- AsyncJSEnv
- JSEnv
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new PhantomJSEnv()
- new PhantomJSEnv(config: Config)
- new PhantomJSEnv(executable: String = "phantomjs", args: Seq[String] = Seq.empty, env: Map[String, String] = Map.empty, autoExit: Boolean = true, jettyClassLoader: ClassLoader = null)
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.18) Use the overload with a PhantomJSEnv.Config.
Type Members
- class AbstractExtRunner extends JSInitFiles
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- class AsyncExtRunner extends AbstractExtRunner with AsyncJSRunner
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- class ExtRunner extends AbstractExtRunner with JSRunner
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- trait AbstractPhantomRunner extends AbstractExtRunner
- Attributes
- protected
- class AsyncPhantomRunner extends AsyncExtRunner with AbstractPhantomRunner
- Attributes
- protected
- class ComPhantomRunner extends AsyncPhantomRunner with ComJSRunner
- Attributes
- protected
- class PhantomRunner extends ExtRunner with AbstractPhantomRunner
- Attributes
- protected
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 val args: Seq[String]
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asyncRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): AsyncJSRunner
- Definition Classes
- PhantomJSEnv → AsyncJSEnv
- final def asyncRunner(code: VirtualJSFile): AsyncJSRunner
- Definition Classes
- AsyncJSEnv
- val autoExit: Boolean
- def clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def comRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): ComJSRunner
- Definition Classes
- PhantomJSEnv → ComJSEnv
- final def comRunner(code: VirtualJSFile): ComJSRunner
- Definition Classes
- ComJSEnv
- def customInitFiles(): Seq[VirtualJSFile]
Custom initialization scripts.
Custom initialization scripts.
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- final val env: Map[String, String]
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- val executable: String
Command to execute (on shell) for this VM
Command to execute (on shell) for this VM
- Attributes
- protected
- Definition Classes
- PhantomJSEnv → ExternalJSEnv
- def finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def htmlEscape(str: String): String
- Attributes
- protected
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def jsRunner(libs: Seq[ResolvedJSDependency], code: VirtualJSFile): JSRunner
Prepare a runner for the code in the virtual file.
Prepare a runner for the code in the virtual file.
- Definition Classes
- PhantomJSEnv → JSEnv
- final def jsRunner(code: VirtualJSFile): JSRunner
Prepare a runner without any libraries.
Prepare a runner without any libraries.
Strictly equivalent to:
this.jsRunner(Nil, code)
- Definition Classes
- JSEnv
- def loadLibs(libs: Seq[ResolvedJSDependency]): ComJSEnv
Return this JSEnv with the given libraries already loaded.
Return this JSEnv with the given libraries already loaded.
The following two are equivalent:
jsEnv.loadLibs(a).jsRunner(b, c) jsEnv.jsRunner(a ++ b, c)
- Definition Classes
- ComJSEnv → AsyncJSEnv → JSEnv
- def name: String
Human-readable name for this JSEnv
Human-readable name for this JSEnv
- Definition Classes
- ExternalJSEnv → JSEnv
- 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 synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def vmName: String
Printable name of this VM
Printable name of this VM
- Attributes
- protected
- Definition Classes
- PhantomJSEnv → ExternalJSEnv
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- final def additionalArgs: Seq[String]
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.16) Use
args
instead.
- final def additionalEnv: Map[String, String]
- Attributes
- protected
- Definition Classes
- ExternalJSEnv
- Annotations
- @deprecated
- Deprecated
(Since version 0.6.16) Use
env
instead.