Mar 12, 2024
I don't use the page-object gem. I had already a draft article on this topic.
Page object model is very simple and intuitive. Testers understand POM immediately. The page_object gem, IMO, made it more complex. The problems with POM is that people don't use it well, e.g. creating page class, typo errors during using it, ....
This can be solved with Extract Page Refactoring.
https://medium.com/geekculture/functional-test-refactoring-extract-page-function-596059c67f67