Page Object Pattern
A test design pattern formally articulated by Martin Fowler in 2013, which encapsulates page elements and interactions into discrete objects. This decouples test logic from page implementation details and represents a concrete application of the Separation of Concerns principle in automated testing.
Timeline (last 90 days)
The Page Object (PO) pattern is the mainstream architectural pattern in UI automation testing, first popularized by the Selenium team.
The core idea of the PO pattern is to separate the locating and operation of page elements from the test business logic into different classes or files, so that only the locators in the Page layer need to be modified when the page UI changes.
All Facts (2)
The core idea of the PO pattern is to separate the locating and operation of page elements from the test business logic into different classes or files, so that only the locators in the Page layer need to be modified when the page UI changes.
60%UnverifiedThe Page Object (PO) pattern is the mainstream architectural pattern in UI automation testing, first popularized by the Selenium team.
50%