Firefox Browser Add-ons
  • Extensions
  • Themes
    • for Firefox
    • Dictionaries & Language Packs
    • Other Browser Sites
    • Add-ons for Android
Log in
Preview of Page Modeller

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.

5 (3 reviews)5 (3 reviews)
51 Users51 Users
Download Firefox and get the extension
Download file

Extension Metadata

Screenshots
Modelling locatorsValidate locators in the browser for each supported frameworkGenerate locatorsGenerate Page Object code
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:
  • 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
Log in to rate this extension
There are no ratings yet

Star rating saved

5
3
4
0
3
0
2
0
1
0
Read all 3 reviews
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.
Learn more
More information
Add-on Links
  • Homepage
  • Support site
  • Copy add-on ID
Version
3.0.1
Size
486.06 KB
Last updated
2 days ago (Sep 15, 2026)
Related Categories
  • Web Development
  • Other
License
MIT License
Version History
  • See all versions
Add to collection
Report this add-on
Go to Mozilla's homepage

Add-ons

  • About
  • Firefox Add-ons Blog
  • Extension Workshop
  • Developer Hub
  • Developer Policies
  • Community Blog
  • Forum
  • Report a bug
  • Review Guide

Download

  • Download Firefox
  • Windows
  • macOS
  • iOS
  • Android
  • Linux
  • All

Latest Builds

  • Nightly
  • Beta

Firefox for Business

  • Enterprise

Community

  • Connect
  • Contribute
  • Developer

Follow

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • Privacy
  • Cookies
  • Legal

Except where otherwise noted, content on this site is licensed under the Creative Commons Attribution Share-Alike License v3.0 or any later version.