Page Modeller by Dan Humphrey
Page Modeller enables developers to scan a web page and generate page object style code for Playwright, Puppeteer and Selenium.
51 Users51 Users
Extension Metadata
Screenshots
About this extension
Browser DevTools extension for modelling web pages for automation.
Pick an element on any page — or scan a whole form at once — and Page Modeller names it, works out a locator that resolves to it, and generates page object style code you can paste into your tests.
Currently generates code for:
Each target offers a full page object or just the locators, and Selenium also generates methods — so it fits whatever conventions your project already has.
Version 3 is a complete rewrite. It runs in Chrome and Firefox, reaches elements inside iframes and inside a web component's shadow DOM, prefers accessible roles and names over brittle CSS paths, and checks that every locator it gives you actually resolves to the element you picked.
Suggestions and bug reports are welcome on GitHub:
https://github.com/danhumphrey/page-modeller/issues
Pick an element on any page — or scan a whole form at once — and Page Modeller names it, works out a locator that resolves to it, and generates page object style code you can paste into your tests.
Currently generates code for:
- Playwright (TypeScript)
- Playwright (Python)
- Selenium WebDriver Java
- Selenium WebDriver C#
- Selenium WebDriver Python
- Puppeteer
Each target offers a full page object or just the locators, and Selenium also generates methods — so it fits whatever conventions your project already has.
Version 3 is a complete rewrite. It runs in Chrome and Firefox, reaches elements inside iframes and inside a web component's shadow DOM, prefers accessible roles and names over brittle CSS paths, and checks that every locator it gives you actually resolves to the element you picked.
Suggestions and bug reports are welcome on GitHub:
https://github.com/danhumphrey/page-modeller/issues
Rated 5 by 3 reviewers
Permissions and data
Required permissions:
- Extend developer tools to access your data in open tabs
- Access browser tabs
- Access your data for all websites
Optional permissions:
- Access your data for all websites
Data collection:
- The developer says this extension doesn't require data collection.
More information
- Add-on Links
- Version
- 3.0.1
- Size
- 486.06 KB
- Last updated
- 2 days ago (Sep 15, 2026)
- Related Categories
- License
- MIT License
- Version History
- Add to collection