Packages

final class Config extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Config
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. val materialization: Materialization
  12. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  14. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  15. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  16. def toString(): String
    Definition Classes
    AnyRef → Any
  17. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. def withMaterialization(materialization: Materialization): Config
  21. def withMaterializeInServer(contentDir: Path, webRoot: URL): Config

    Materializes files in a static directory of a user configured server.

    Materializes files in a static directory of a user configured server.

    Version of withMaterializeInServer with stronger typing.

    contentDir

    Static content directory of the server. The files will be put here. Will get created if it doesn't exist.

    webRoot

    URL making contentDir accessible thorugh the server. This must have a trailing slash to be interpreted as a directory.

  22. def withMaterializeInServer(contentDir: String, webRoot: String): Config

    Materializes files in a static directory of a user configured server.

    Materializes files in a static directory of a user configured server.

    This can be used to bypass cross origin access policies.

    contentDir

    Static content directory of the server. The files will be put here. Will get created if it doesn't exist.

    webRoot

    URL making contentDir accessible thorugh the server. This must have a trailing slash to be interpreted as a directory.

    Example:
    1. The following will make the browser fetch files using the http:// schema instead of the file:// schema. The example assumes a local webserver is running and serving the ".tmp" directory at http://localhost:8080.

      jsSettings(
        jsEnv := new SeleniumJSEnv(
            new org.openqa.selenium.firefox.FirefoxOptions(),
            SeleniumJSEnv.Config()
              .withMaterializeInServer(".tmp", "http://localhost:8080/")
        )
      )
  23. def withMaterializeInTemp: Config

    Materializes purely virtual files into a temp directory.

    Materializes purely virtual files into a temp directory.

    Materialization is necessary so that virtual files can be referred to by name. If you do not know/care how your files are referred to, this is a good default choice. It is also the default of PWEnv.Config.

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from AnyRef

Inherited from Any

Ungrouped