org.scalajs.jsenv.selenium.SeleniumJSEnv

Config

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
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

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

  9. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  15. val keepAlive: Boolean

  16. val materialization: Materialization

  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

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

    Definition Classes
    AnyRef
  21. def toString(): String

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

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

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

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

  26. def withKeepAlive(keepAlive: Boolean): Config

  27. def withMaterialization(materialization: Materialization): Config

  28. 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.

  29. 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/")
      )
      )
  30. 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 SeleniumJSEnv.Config.

Deprecated Value Members

  1. lazy val materializer: FileMaterializer

    Annotations
    @deprecated
    Deprecated

    (Since version 0.2.1) Use materialization instead

Inherited from AnyRef

Inherited from Any

Ungrouped