Some days ago I wrote about writing an overloadable helper. If you want to see a real-world helper which uses that approach, check out the new Selenium helper for Selenium 0.8. It uses that approach because I am too lazy to define all the assert, assertNot, verify, verifyNot, waitFor and waitForNot functions ;-) And it makes the helper more “compact” (with still more than 60 functions).
All new functions of the Selenium helper are marked with “@since 0.8”. There are also functions which were removed (including the related assert, assertNot, etc. functions):
If you encounter any problems with that helper, please let me know. Otherwise, happy testing :)
Related posts: http://cakebaker.42dh.com/tags/selenium