I am new to selenium automation testing. One of my projects uses fluent style of selenium code. I am facing an issue with this pattern, my application behaves login differently, if it is a new user [login for the first time] the set of pages are different from normal login.
Eg:-
New User:
LoginPage -> Security Questions ->...-> final page.
Old user:
LoginPage -> Advertisement -> final page.
How to handle this situation in fluent style of coding.