Class/Object

org.scalajs.jsenv.selenium.SeleniumJSEnv

Config

Related Docs: object Config | package SeleniumJSEnv

Permalink

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val driverFactory: DriverFactory

    Permalink
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. val keepAlive: Boolean

    Permalink
  14. val materialization: Materialization

    Permalink
  15. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  16. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  19. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def withDriverFactory(driverFactory: DriverFactory): Config

    Permalink
  24. def withKeepAlive(keepAlive: Boolean): Config

    Permalink
  25. def withMaterialization(materialization: Materialization): Config

    Permalink
  26. def withMaterializeInServer(contentDir: Path, webRoot: URL): Config

    Permalink

    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.

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

    Permalink

    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/")
        )
      )
  28. def withMaterializeInTemp: Config

    Permalink

    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 SeleniumJSEnv.Config.

Inherited from AnyRef

Inherited from Any

Ungrouped