Basil Language DocumentationΒΆ

Basil (Browser Automation Script Intermediary Language) is a programming language for creating web browser automation tests.

Basil defines:

  • actions to be performed to get a browser into a desired state
  • assertions to verify the browser state
  • steps, tests and test suites to arrange collections of actions and assertions
  • page models to de-couple tests from the pages being tested
  • data providers to de-couple parameterised tests from the data driving them

Goals:

  • concise when compared to equivalent WebDriver-powered code
  • human-readable, understandable by non-developers
  • transpilable to a target language for execution