I have two scenarios for two pages (homepage and property page). And in these scenarios I have the same steps (I fill in "field" with "text"). I need to implement one for homepage and one for property page. But behave sees only one implementation. How could I do the different implementation for the same named steps? I dont want to do hardcode and call the same action differently.
My stack: behave + python + selenium + pageObject
Somehow, somewhere, you have to put in code to say the things are different.
All have advantages and drawbacks. You'll need to decide which works best for your situation. The problem with having a generic statement is that it can be applied to too many areas and eventually something has to give.