npm

@serenity-js/playwright

Adapter that integrates @serenity-js/web with Playwright, enabling Serenity/JS reporting and using the Screenplay Pattern to write component and end-to-end test scenarios

版本 4已同步 4文件 184 SRI 已生成
接入决策台 · 安全可信状态

先确认可用入口,再复制固定版本地址

入口文件、安全评分、扫描覆盖和风险项已合并到首屏,适合上线前快速判断能不能直接接入。

建议复核
安全分
39
最近扫描 2026-08-08
扫描覆盖
75%
138 / 184 文件
高危文件
0
0 条 critical
待复核
6
外联、混淆、敏感行为
推荐入口
Script
SRI 已就绪
SRI 缺失 0
当前版本 3.44.3
46 文件
46 JS / 0 CSS / 0 WASM
6 review files
@serenity-js/playwright/3.44.3/lib/ExtraBrowserContextOptions.js
https://cdn.ptab.cn/cdn/serenity-js__playwright/3.44.3/lib/ExtraBrowserContextOptions.js
当前版本 46 个文件,12 个入口候选。未发现可疑外联域名。
生成接入代码
使用路径
01确认版本

固定到 3.44.3,避免线上被隐式升级。

02复制地址

优先使用推荐入口,特殊场景再切换文件。

03检测可用

发布前检测 HTTP、CORS、SRI 和响应速度。

查看全部文件

快速接入

已按当前文件列表自动选择一个更适合浏览器接入的入口文件。完整用法可在下方生成器中切换文件。

<script src="https://cdn.ptab.cn/cdn/serenity-js__playwright/3.44.3/lib/ExtraBrowserContextOptions.js" integrity="sha256-8aoUv9ZXSFafNgdMoowyw6rHtkwXxmBqkvtb59FbVLc=" crossorigin="anonymous"></script>
4版本
184文件
3.44.3最新

CDN 地址生成器

选择文件后直接复制 URL、Script、Module、CSS 或 WASM 示例。建议复制前先检测一次文件可用性。

文件类型
JS
文件大小
166 B
SRI
已生成
CDN URL
适合放到构建配置、动态加载或手动拼接标签。
https://cdn.ptab.cn/cdn/serenity-js__playwright/3.44.3/esm/index.js
普通 Script
适合传统 HTML 页面和 UMD/global 构建。
<script src="https://cdn.ptab.cn/cdn/serenity-js__playwright/3.44.3/esm/index.js" integrity="sha256-55dLBvTd3lcvtLnV0Qzw50eK/NQykjp9tEE7dunb6cA=" crossorigin="anonymous"></script>
ES Module
适合浏览器原生 module 文件,使用前建议确认该文件支持 ESM。
<script type="module">
  import * as lib from "https://cdn.ptab.cn/cdn/serenity-js__playwright/3.44.3/esm/index.js";
  console.log("module loaded", lib);
</script>

版本与文件

当前版本 3.44.3,展示 46 / 46 个文件。
@serenity-js/playwright/3.44.3/esm/index.js
JS
166 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/abilities/index.js
JS
82 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/index.js
JS
106 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/index.js
JS
530 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/locators/index.js
JS
117 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/selector-engines/index.js
JS
79 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/index.js
JS
977 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/abilities/index.js
JS
857 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/index.js
JS
899 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/index.js
JS
1.4 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/locators/index.js
JS
910 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/selector-engines/index.js
JS
854 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/ExtraBrowserContextOptions.js
JS
65 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/abilities/BrowseTheWebWithPlaywright.js
JS
11.4 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/ElectronLaunchOptions.js
JS
60 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/locators/PlaywrightLocator.js
JS
6.5 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/locators/PlaywrightRootLocator.js
JS
1.4 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightBrowsingSession.js
JS
2.4 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightBrowsingSessionWithBrowser.js
JS
1.5 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightBrowsingSessionWithElectron.js
JS
3.8 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightBrowsingSessionWithPage.js
JS
1.7 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightCookie.js
JS
1.5 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightModalDialogHandler.js
JS
1.6 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightPage.js
JS
6.9 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/PlaywrightPageElement.js
JS
6.5 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/models/SelfLaunchingPlaywrightBrowsingSessionWithElectron.js
JS
2.4 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/screenplay/promised.js
JS
369 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/selector-engines/PlaywrightSelectorEngine.js
JS
63 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/esm/selector-engines/SerenitySelectorEngines.js
JS
1.7 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/ExtraBrowserContextOptions.js
JS
131 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/abilities/BrowseTheWebWithPlaywright.js
JS
12.9 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/ElectronLaunchOptions.js
JS
126 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/locators/PlaywrightLocator.js
JS
6.8 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/locators/PlaywrightRootLocator.js
JS
1.7 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightBrowsingSession.js
JS
2.6 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightBrowsingSessionWithBrowser.js
JS
1.8 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightBrowsingSessionWithElectron.js
JS
4.0 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightBrowsingSessionWithPage.js
JS
2.0 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightCookie.js
JS
1.7 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightModalDialogHandler.js
JS
1.8 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightPage.js
JS
8.5 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/PlaywrightPageElement.js
JS
8.0 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/models/SelfLaunchingPlaywrightBrowsingSessionWithElectron.js
JS
4.1 KB
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/screenplay/promised.js
JS
468 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/selector-engines/PlaywrightSelectorEngine.js
JS
129 B
SRI ready
未分级
0 请求
@serenity-js/playwright/3.44.3/lib/selector-engines/SerenitySelectorEngines.js
JS
1.9 KB
SRI ready
未分级
0 请求

库评论

还没有评论。可以反馈这个库的接入体验、版本建议或兼容性问题。
发表评论

免登录提交。需要填写昵称和邮箱,并完成 TAC 行为验证;内容会自动审核,违规内容不会发布。