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 stateassertions
to verify the browser statesteps
,tests
andtest suites
to arrange collections of actions and assertionspage models
to de-couple tests from the pages being testeddata 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
Tutorial
Examples