Part of the slick project
The Slick selenium api is a higher level api for interacting with selenium 2 (aka webdriver). The purpose is to handle many of the redundant things you always have to handle with UI testing transparently. Namely:
- Waiting for UI elements to exist before using them
- A decent page class abstraction to help with building better tests
- Debugging information (finding out what went wrong when an error happens)
- Logging (for tracing purposes, finding out where something went wrong, or started to go wrong)
When doing automated testing, one thing that usually causes higher maintenance costs is having to re-run a test to diagnose an issue. Often if you don't have proper information when you need to figure out what went wrong, you don't even know if it is a test failure or a product failure. Information is one of the major factors that separates good automation from bad.
This API's purpose is to help you to first not have as many errors, second to be able to quickly diagnose and fix what errors come, and finally to be able to easily write good maintainable and readable tests.
TODO
You can install this api by using pip:
pip install slickqa-selenium
This should install this api, and all the requisite dependencies.