You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes we have elements that have very same logic but different parameters describes them so its impossible to get them directly from Page Object.
It would be nice to have additional parameter in getElement method in Page class.
Page class already accepts parameters as the last argument. How about we make that Element class accepts them too and than both factory methods get an optional argument, like @norzechowicz proposed? This gives us an additional ability to override parameters passed via the configuration at runtime.
Sometimes we have elements that have very same logic but different parameters describes them so its impossible to get them directly from Page Object.
It would be nice to have additional parameter in getElement method in Page class.
The text was updated successfully, but these errors were encountered: