Page Object mode principle

On behalf of UI functionality provided by public methods

PageObject other method should return or return for asserting data

Different same behavior can be modeled as the result of a different approach

Do not add assertions in the method

Do not exposed to the outside elements within the page

All elements within the UI does not require modeling

Guess you like

Origin www.cnblogs.com/godlove/p/11967763.html