Package

org.scalajs.jsenv

selenium

Permalink

package selenium

Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractSeleniumJSRunner extends AnyRef

    Permalink
  2. abstract class BrowserDriver extends AnyRef

    Permalink
  3. class CustomFileMaterializer extends FileMaterializer

    Permalink

    Materializes files on the filesystem and specifies a custom url to access stored files.

    Materializes files on the filesystem and specifies a custom url to access stored files. This can be used to bypass cross origin access policies as shown below.

    Example:
    1. The following illustrates how to configure a project such that the browser fetches files by http:// instead of file://. This example assumes a local webserver is running and serving the ".tmp" directory at http://localhost:8080

         jsSettings(
           // ...
           jsEnv := new SeleniumJSEnv(org.scalajs.jsenv.selenium.Firefox)
               .withMaterializer(new SpecificFileMaterializer(".tmp", "http://localhost:8080"))
         )
      

  4. trait FileMaterializer extends AnyRef

    Permalink
  5. class SeleniumAsyncJSRunner extends AbstractSeleniumJSRunner with AsyncJSRunner

    Permalink
  6. trait SeleniumBrowser extends AnyRef

    Permalink
  7. class SeleniumComJSRunner extends SeleniumAsyncJSRunner with ComJSRunner

    Permalink
  8. class SeleniumJSEnv extends AsyncJSEnv with ComJSEnv

    Permalink
  9. class SeleniumRunner extends AbstractSeleniumJSRunner with JSRunner

    Permalink

Value Members

  1. object BrowserDriver

    Permalink
  2. object Chrome extends SeleniumBrowser

    Permalink
  3. object DefaultFileMaterializer extends FileMaterializer

    Permalink

    Materializes virtual files in a temporary directory and links to them via file://

  4. object Firefox extends SeleniumBrowser

    Permalink

Ungrouped