Firefox 浏览器附加组件
  • 扩展
  • 主题
    • 适用于 Firefox
    • 字典和语言包
    • 其他浏览器网站
    • 适用于 Android 的附加组件
登录
Page Modeller 预览

Page Modeller 作者: Dan Humphrey

Page Modeller enables developers to scan a web page and generate page object style code for Playwright, Puppeteer and Selenium.

5(3 条评价)5(3 条评价)
44 个用户44 个用户
下载 Firefox 并安装扩展
下载文件

扩展元数据

屏幕截图
Modelling locatorsValidate locators in the browser for each supported frameworkGenerate locatorsGenerate Page Object code
关于此扩展
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
评分 5(1 位用户)
登录以评价此扩展
目前尚无评分

已保存星级评分

5
3
4
0
3
0
2
0
1
0
阅读全部 3 条评价
权限与数据

必要权限:

  • 让开发者工具可以存取您打开的标签页中的数据
  • 获取浏览器标签页
  • 访问您在所有网站的数据

可选权限:

  • 访问您在所有网站的数据

收集的数据:

  • 开发者称此扩展无需收集数据。
详细了解
更多信息
附加组件链接
  • 主页
  • 用户支持网站
  • 复制附加组件 ID
版本
3.0.1
大小
486.06 KB
上次更新
15 天前 (2026年9月15日)
相关分类
  • 网页开发
  • 其他
许可证
MIT 许可证
版本历史
  • 查看所有版本
添加到收藏集
举报此附加组件
转至 Mozilla 主页

附加组件

  • 关于
  • Firefox 附加组件博客
  • 扩展工坊
  • 开发者中心
  • 开发者政策
  • 社区博客
  • 论坛
  • 报告缺陷
  • 评价指南

下载

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

最新版本

  • Nightly
  • Beta

商用版 Firefox

  • Enterprise

社区

  • Connect
  • Contribute
  • Developer

关注

  • Instagram
  • YouTube
  • TikTok
  • Bluesky
  • Podcast
  • 隐私
  • Cookie
  • 法律

除非另有注明,否则本网站上的内容可按知识共享 署名-相同方式共享 3.0 或更新版本使用。