Checkout our demo site to practice selenium https://magento.softwaretestingboard.com/

1 like 1 dislike
251 views
by The go-to Tester (391 points)
retagged by
How can I implement a Page Object Method that can return two different page object based on the user role?
closed with the note: irrelevant and unanswered
by The go-to Tester (181 points)
Usually when you use any famous CMS or customized CMS to manage your user, there are no concept of generating a different page or element for different user role. So if you can give me an other scenario, we can think of it.

So implementing interface just because you have page changed for different user role does not really make sense.
...