Wallaby
Elixir library for concurrent browser feature tests of web applications, driving Chrome or Selenium.
Wallaby is an Elixir library for feature tests that drive a real browser against a web application. A test visits a page, fills in fields, clicks buttons and asserts on what the page shows. By default each test case runs concurrently and the library manages the browsers for it. Chrome is the default driver, and Selenium can be used instead; the matching driver tools have to be installed separately.
For Phoenix applications, the setup has the endpoint serve requests during tests. With a database that supports Ecto’s sandbox mode, a plug lets the browser and the test share one database connection. The official documentation covers the DSL.
Worth knowing
Wallaby also requires bash, which does not come pre-installed on Alpine Linux. Assets are not recompiled when mix test runs, so tests can fail against stale JavaScript or CSS until the assets are rebuilt. The README describes an esbuild alias and a webpack alias for this.
Sources
- 2026-11-17: links, Written in, License, GitHub stars
api.github.com/repos/elixir-wallaby/wallaby - 2026-11-17: links, Categories, Runtime, Minimum runtime, Install with
github.com/elixir-wallaby/wallaby/blob/main/README.md - 2026-11-17: Maintainer
github.com/elixir-wallaby/wallaby/blob/main/LICENSE.md - 2026-11-17: First release
hex.pm/api/packages/wallaby - 2026-11-17: Current major version, Last release
api.github.com/repos/elixir-wallaby/wallaby/releases - 2026-11-17: Contributors
api.github.com/repos/elixir-wallaby/wallaby/contributors?per_page=1 - 2026-11-17: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/hex.pm/packages/wallaby