Page Object Pattern Implementation with CasperJS
问题 Is there anyone who have already implemented the famous "Page Object Pattern" with casperjs, it's very useful for test maintenability in the long term ? It's very very cool to use that when you have to separe the mechanics and the purpose of your tests. it become more pleasurable to write your tests this way. There are some examples with ruby and selenium: http://blog.josephwilk.net/cucumber/page-object-pattern.html https://code.google.com/p/selenium/wiki/PageObjects 回答1: Here is an exemple