Improving Page Object
summary
Yandex’s open source html-elements library extends Selenium with a block annotation and reusable page fragments to cut copy‑paste locators, and provides typified elements (text box, button, select, table, and a form that populates from a map) so tests express business actions not low‑level WebElement calls. It bundles matchers (Hamcrest‑style) for clearer assertions, uses Selenium’s FindBy and lazy lookup, is available via Maven, and aims toward page generation and ports to other languages.
AI-written summary · about
chapters (5)
- 0:00Start
- 6:27writing: elements copy-paste
- 6:44reading: page cluttering
- 9:52CheckBox RadioButton Select
- 13:18implementation in other languages
related talks
40mPage Objects: Keep It Simple and Better!
51mEverything you want to know about Page Object design pattern (Mikalai Alimenkou, Ukraine), part 1
39mBeyond Page Objects
37mKISS PageObjects
08mSpice Up Selenium Test Automation"
45mDesign Patterns in Test Automation
46mMaintainable frontend development with BEM
46mSelenium: State of the Union
