跳到正文
Skillpedia
测试75k · #2791

cross-browser-testing

它能做什么

这项技能说明如何在主流浏览器中测试网站,并把这些检查加入自动化测试。适合希望在用户发现之前就捕捉浏览器特有错误的团队。

适用场景

  • ✓当页面在一个浏览器中显示正常,在另一个浏览器中却出错时。
  • ✓当你加入较新的 CSS 或 JavaScript 功能,需要检查其支持情况时。
  • ✓当你希望把浏览器测试加入持续集成流程时。

技能链接

https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cross-browser-testing/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/thedaviddias/Front-End-Checklist/blob/main/skills/cross-browser-testing/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“请设置自动化测试,在 Chrome、Firefox、Safari 和 Edge 中检查我的首页。”

每周 5 个新技能,1 分钟读完。

工作原理

智能体会推荐 Playwright 或 BrowserStack 等工具,在主要浏览器及其移动版本上添加测试,并在依赖某项功能之前检查其支持情况。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

Test across all major browsers

Users access your site from different browsers, each with unique rendering engines. Without cross-browser testing, a significant portion of users may experience broken layouts, missing features, or complete failures.

Quick Reference

  • Test on Chrome, Firefox, Safari, and Edge at minimum
  • Use automated tools like Playwright or BrowserStack for CI testing
  • Check CSS features with caniuse.com before using
  • Test on both desktop and mobile versions of browsers
  • Document and gracefully handle unsupported features

Check

Verify that this website works correctly across major browsers (Chrome, Firefox, Safari, Edge).

Fix

Fix browser-specific issues and ensure consistent experience across different browsers.

Explain

Explain the importance of testing across browsers to ensure all users have a good experience.

Code Review

Review tests, CI workflows, and enforcement points related to Test across all major browsers. Flag exact gaps where the rule is not automatically verified or where failures do not block regressions.


For full implementation details, code examples, and framework-specific guidance, see references/rule.md.

Rule page: https://frontendchecklist.io/rules/testing/cross-browser-testing

常见问题

应该测试哪些浏览器?

这项技能说明,至少应包括桌面版和移动版的 Chrome、Firefox、Safari 和 Edge。

如何检查某个 CSS 功能是否被支持?

这项技能建议在使用前,在 caniuse.com 上查询。

它提到了哪些自动化工具?

Playwright 和 BrowserStack。

详情

作者的原始描述

Use when reviewing CI coverage, automated checks, or test strategy related to Test across all major browsers. Focus on whether the rule is continuously verified, not just documented.

repo: thedaviddias/Front-End-Checklist

热度

GitHub 星标
75k
排名
#2791
许可证
MIT
更新时间
2026/10/31

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能