Splinter
What is Splinter?
Splinter is a testing toolkit that is designed to make automated testing of Python applications easier. Splinter works with WebDriver to provide a powerful method for testing web applications. It supports multiple browsers and provides a simple and intuitive API to write test scenarios.
Splinter provides a layer of abstraction on top of the Selenium WebDriver. By using Splinter, you can interact with elements on page in a human-like way. With Splinter, you can write tests that are easier to read and understand, and that are more maintainable.
Features of Splinter
- Cross Browser Testing: Splinter works with multiple browsers, including Chrome, Firefox and IE.
- Supports Headless Browsers: Splinter makes it easy to run headless browsers for automated testing.
- Supports Cucumber: Splinter supports Cucumber for writing readable and expressive acceptance tests.
- Handles Javascript Dialogs: Splinter handles dialog boxes and pop-ups that may appear in the browser while running tests.
- Simple and Flexible API: Splinter has a simple and intuitive API for writing tests, making it easy to start writing tests.
- Maintainable: Splinter tests are more maintainable compared to tests written directly against the WebDriver API.
Benefits of Splinter
- Splinter provides an easier, more readable way to write automated tests.
- It makes it easier to run multiple browsers in one test.
- Splinter also makes it easier to handle dialog boxes and pop-ups that may appear during a test.
- By using Splinter, tests become more maintainable.