[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M69B9GPW01S1KVKW0AEMTP09":3,"skill-same:01M69B9GPW01S1KVKW0AEMTP09":112},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":8,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":18,"categories":19,"keywords":30,"publishedAt":46,"linkOnly":47,"markdownContent":48,"markdownBody":49,"frontMatter":50,"refName":52,"commitSha":53,"skillDirectory":54,"forksCount":55,"repositoryHtmlUrl":56,"repositoryHomepageUrl":17,"ownerHtmlUrl":57,"ownerBlogUrl":58,"ownerDescription":59,"updatedAt":60,"install":61,"resources":73},"01M69B9GPW01S1KVKW0AEMTP09","playwright-cli","Playwright 浏览器自动化测试","Automate browser interactions, test web pages and work with Playwright tests.","实现浏览器交互自动化、网页测试，以及使用 Playwright 开展测试工作。","microsoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots","microsoft","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F6154722?v=4","01M698VYDXZ6JW5WH3CRV650R8","Microsoft","01M69B8Z0F3707XGBWWZMXZN2S",11,"MIT",null,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002FSKILL.md",[20,25],{"categoryNo":21,"categoryName":22,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5WG86P4AQ5GPSSKBFR","测试工程师","PROFESSION","适用职业",{"categoryNo":26,"categoryName":27,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQJH394GT47X57A9Q8G7HX","测试与质量保障","SCENARIO","使用场景",[31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,5],"cli","playwright","playwright cli","test","web","browser","npm","Bash","automate","work","test web","npx","tests","pages","with","2026-11-10 10:12:30",false,"---\nname: playwright-cli\ndescription: Automate browser interactions, test web pages and work with Playwright tests.\nallowed-tools: Bash(playwright-cli:*) Bash(npx:*) Bash(npm:*)\n---\n\n# Browser Automation with playwright-cli\n\n## Quick start\n\n```bash\n# open new browser\nplaywright-cli open\n# navigate to a page\nplaywright-cli goto https:\u002F\u002Fplaywright.dev\n# interact with the page using refs from the snapshot\nplaywright-cli click e15\nplaywright-cli type \"page.click\"\nplaywright-cli press Enter\n# take a screenshot (rarely used, as snapshot is more common)\nplaywright-cli screenshot\n# close the browser\nplaywright-cli close\n```\n\n## Commands\n\n### Core\n\n```bash\nplaywright-cli open\n# open and navigate right away\nplaywright-cli open https:\u002F\u002Fexample.com\u002F\nplaywright-cli goto https:\u002F\u002Fplaywright.dev\nplaywright-cli type \"search query\"\nplaywright-cli click e3\nplaywright-cli dblclick e7\n# --submit presses Enter after filling the element\nplaywright-cli fill e5 \"user@example.com\"  --submit\nplaywright-cli drag e2 e8\nplaywright-cli hover e4\nplaywright-cli select e9 \"option-value\"\nplaywright-cli upload .\u002Fdocument.pdf\nplaywright-cli check e12\nplaywright-cli uncheck e12\nplaywright-cli snapshot\nplaywright-cli eval \"document.title\"\nplaywright-cli eval \"el => el.textContent\" e5\n# get element id, class, or any attribute not visible in the snapshot\nplaywright-cli eval \"el => el.id\" e5\nplaywright-cli eval \"el => el.getAttribute('data-testid')\" e5\nplaywright-cli dialog-accept\nplaywright-cli dialog-accept \"confirmation text\"\nplaywright-cli dialog-dismiss\nplaywright-cli resize 1920 1080\nplaywright-cli close\n```\n\n### Navigation\n\n```bash\nplaywright-cli go-back\nplaywright-cli go-forward\nplaywright-cli reload\n```\n\n### Keyboard\n\n```bash\nplaywright-cli press Enter\nplaywright-cli press ArrowDown\nplaywright-cli keydown Shift\nplaywright-cli keyup Shift\n```\n\n### Mouse\n\n```bash\nplaywright-cli mousemove 150 300\nplaywright-cli mousedown\nplaywright-cli mousedown right\nplaywright-cli mouseup\nplaywright-cli mouseup right\nplaywright-cli mousewheel 0 100\n```\n\n### Save as\n\n```bash\nplaywright-cli screenshot\nplaywright-cli screenshot e5\nplaywright-cli screenshot --filename=page.png\nplaywright-cli pdf --filename=page.pdf\n```\n\n### Tabs\n\n```bash\nplaywright-cli tab-list\nplaywright-cli tab-new\nplaywright-cli tab-new https:\u002F\u002Fexample.com\u002Fpage\nplaywright-cli tab-close\nplaywright-cli tab-close 2\nplaywright-cli tab-select 0\n```\n\n### Storage\n\n```bash\nplaywright-cli state-save\nplaywright-cli state-save auth.json\nplaywright-cli state-load auth.json\n\n# Cookies\nplaywright-cli cookie-list\nplaywright-cli cookie-list --domain=example.com\nplaywright-cli cookie-get session_id\nplaywright-cli cookie-set session_id abc123\nplaywright-cli cookie-set session_id abc123 --domain=example.com --httpOnly --secure\nplaywright-cli cookie-delete session_id\nplaywright-cli cookie-clear\n\n# LocalStorage\nplaywright-cli localstorage-list\nplaywright-cli localstorage-get theme\nplaywright-cli localstorage-set theme dark\nplaywright-cli localstorage-delete theme\nplaywright-cli localstorage-clear\n\n# SessionStorage\nplaywright-cli sessionstorage-list\nplaywright-cli sessionstorage-get step\nplaywright-cli sessionstorage-set step 3\nplaywright-cli sessionstorage-delete step\nplaywright-cli sessionstorage-clear\n```\n\n### Network\n\n```bash\nplaywright-cli route \"**\u002F*.jpg\" --status=404\nplaywright-cli route \"https:\u002F\u002Fapi.example.com\u002F**\" --body='{\"mock\": true}'\nplaywright-cli route-list\nplaywright-cli unroute \"**\u002F*.jpg\"\nplaywright-cli unroute\n```\n\n### DevTools\n\n```bash\nplaywright-cli console\nplaywright-cli console warning\nplaywright-cli network\nplaywright-cli run-code \"async page => await page.context().grantPermissions(['geolocation'])\"\nplaywright-cli run-code --filename=script.js\nplaywright-cli tracing-start\nplaywright-cli tracing-stop\nplaywright-cli video-start video.webm\nplaywright-cli video-chapter \"Chapter Title\" --description=\"Details\" --duration=2000\nplaywright-cli video-stop\n```\n\n## Raw output\n\nThe global `--raw` option strips page status, generated code, and snapshot sections from the output, returning only the result value. Use it to pipe command output into other tools. Commands that don't produce output return nothing.\n\n```bash\nplaywright-cli --raw eval \"JSON.stringify(performance.timing)\" | jq '.loadEventEnd - .navigationStart'\nplaywright-cli --raw eval \"JSON.stringify([...document.querySelectorAll('a')].map(a => a.href))\" > links.json\nplaywright-cli --raw snapshot > before.yml\nplaywright-cli click e5\nplaywright-cli --raw snapshot > after.yml\ndiff before.yml after.yml\nTOKEN=$(playwright-cli --raw cookie-get session_id)\nplaywright-cli --raw localstorage-get theme\n```\n\n## Open parameters\n```bash\n# Use specific browser when creating session\nplaywright-cli open --browser=chrome\nplaywright-cli open --browser=firefox\nplaywright-cli open --browser=webkit\nplaywright-cli open --browser=msedge\n\n# Use persistent profile (by default profile is in-memory)\nplaywright-cli open --persistent\n# Use persistent profile with custom directory\nplaywright-cli open --profile=\u002Fpath\u002Fto\u002Fprofile\n\n# Connect to browser via extension\nplaywright-cli attach --extension\n\n# Connect to a running Chrome or Edge by channel name\nplaywright-cli attach --cdp=chrome\nplaywright-cli attach --cdp=msedge\n\n# Connect to a running browser via CDP endpoint\nplaywright-cli attach --cdp=http:\u002F\u002Flocalhost:9222\n\n# Start with config file\nplaywright-cli open --config=my-config.json\n\n# Close the browser\nplaywright-cli close\n# Delete user data for the default session\nplaywright-cli delete-data\n```\n\n## Snapshots\n\nAfter each command, playwright-cli provides a snapshot of the current browser state.\n\n```bash\n> playwright-cli goto https:\u002F\u002Fexample.com\n### Page\n- Page URL: https:\u002F\u002Fexample.com\u002F\n- Page Title: Example Domain\n### Snapshot\n[Snapshot](.playwright-cli\u002Fpage-2026-02-14T19-22-42-679Z.yml)\n```\n\nYou can also take a snapshot on demand using `playwright-cli snapshot` command. All the options below can be combined as needed.\n\n```bash\n# default - save to a file with timestamp-based name\nplaywright-cli snapshot\n\n# save to file, use when snapshot is a part of the workflow result\nplaywright-cli snapshot --filename=after-click.yaml\n\n# snapshot an element instead of the whole page\nplaywright-cli snapshot \"#main\"\n\n# limit snapshot depth for efficiency, take a partial snapshot afterwards\nplaywright-cli snapshot --depth=4\nplaywright-cli snapshot e34\n```\n\n## Targeting elements\n\nBy default, use refs from the snapshot to interact with page elements.\n\n```bash\n# get snapshot with refs\nplaywright-cli snapshot\n\n# interact using a ref\nplaywright-cli click e15\n```\n\nYou can also use css selectors or Playwright locators.\n\n```bash\n# css selector\nplaywright-cli click \"#main > button.submit\"\n\n# role locator\nplaywright-cli click \"getByRole('button', { name: 'Submit' })\"\n\n# test id\nplaywright-cli click \"getByTestId('submit-button')\"\n```\n\n## Browser Sessions\n\n```bash\n# create new browser session named \"mysession\" with persistent profile\nplaywright-cli -s=mysession open example.com --persistent\n# same with manually specified profile directory (use when requested explicitly)\nplaywright-cli -s=mysession open example.com --profile=\u002Fpath\u002Fto\u002Fprofile\nplaywright-cli -s=mysession click e6\nplaywright-cli -s=mysession close  # stop a named browser\nplaywright-cli -s=mysession delete-data  # delete user data for persistent session\n\nplaywright-cli list\n# Close all browsers\nplaywright-cli close-all\n# Forcefully kill all browser processes\nplaywright-cli kill-all\n```\n\n## Installation\n\nIf global `playwright-cli` command is not available, try a local version via `npx playwright-cli`:\n\n```bash\nnpx --no-install playwright-cli --version\n```\n\nWhen local version is available, use `npx playwright-cli` in all commands. Otherwise, install `playwright-cli` as a global command:\n\n```bash\nnpm install -g @playwright\u002Fcli@latest\n```\n\n## Example: Form submission\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\u002Fform\nplaywright-cli snapshot\n\nplaywright-cli fill e1 \"user@example.com\"\nplaywright-cli fill e2 \"password123\"\nplaywright-cli click e3\nplaywright-cli snapshot\nplaywright-cli close\n```\n\n## Example: Multi-tab workflow\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\nplaywright-cli tab-new https:\u002F\u002Fexample.com\u002Fother\nplaywright-cli tab-list\nplaywright-cli tab-select 0\nplaywright-cli snapshot\nplaywright-cli close\n```\n\n## Example: Debugging with DevTools\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\nplaywright-cli click e4\nplaywright-cli fill e7 \"test\"\nplaywright-cli console\nplaywright-cli network\nplaywright-cli close\n```\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\nplaywright-cli tracing-start\nplaywright-cli click e4\nplaywright-cli fill e7 \"test\"\nplaywright-cli tracing-stop\nplaywright-cli close\n```\n\n## Specific tasks\n\n* **Running and Debugging Playwright tests** [references\u002Fplaywright-tests.md](references\u002Fplaywright-tests.md)\n* **Request mocking** [references\u002Frequest-mocking.md](references\u002Frequest-mocking.md)\n* **Running Playwright code** [references\u002Frunning-code.md](references\u002Frunning-code.md)\n* **Browser session management** [references\u002Fsession-management.md](references\u002Fsession-management.md)\n* **Storage state (cookies, localStorage)** [references\u002Fstorage-state.md](references\u002Fstorage-state.md)\n* **Test generation** [references\u002Ftest-generation.md](references\u002Ftest-generation.md)\n* **Tracing** [references\u002Ftracing.md](references\u002Ftracing.md)\n* **Video recording** [references\u002Fvideo-recording.md](references\u002Fvideo-recording.md)\n* **Inspecting element attributes** [references\u002Felement-attributes.md](references\u002Felement-attributes.md)\n","# Browser Automation with playwright-cli\n\n## Quick start\n\n```bash\n# open new browser\nplaywright-cli open\n# navigate to a page\nplaywright-cli goto https:\u002F\u002Fplaywright.dev\n# interact with the page using refs from the snapshot\nplaywright-cli click e15\nplaywright-cli type \"page.click\"\nplaywright-cli press Enter\n# take a screenshot (rarely used, as snapshot is more common)\nplaywright-cli screenshot\n# close the browser\nplaywright-cli close\n```\n\n## Commands\n\n### Core\n\n```bash\nplaywright-cli open\n# open and navigate right away\nplaywright-cli open https:\u002F\u002Fexample.com\u002F\nplaywright-cli goto https:\u002F\u002Fplaywright.dev\nplaywright-cli type \"search query\"\nplaywright-cli click e3\nplaywright-cli dblclick e7\n# --submit presses Enter after filling the element\nplaywright-cli fill e5 \"user@example.com\"  --submit\nplaywright-cli drag e2 e8\nplaywright-cli hover e4\nplaywright-cli select e9 \"option-value\"\nplaywright-cli upload .\u002Fdocument.pdf\nplaywright-cli check e12\nplaywright-cli uncheck e12\nplaywright-cli snapshot\nplaywright-cli eval \"document.title\"\nplaywright-cli eval \"el => el.textContent\" e5\n# get element id, class, or any attribute not visible in the snapshot\nplaywright-cli eval \"el => el.id\" e5\nplaywright-cli eval \"el => el.getAttribute('data-testid')\" e5\nplaywright-cli dialog-accept\nplaywright-cli dialog-accept \"confirmation text\"\nplaywright-cli dialog-dismiss\nplaywright-cli resize 1920 1080\nplaywright-cli close\n```\n\n### Navigation\n\n```bash\nplaywright-cli go-back\nplaywright-cli go-forward\nplaywright-cli reload\n```\n\n### Keyboard\n\n```bash\nplaywright-cli press Enter\nplaywright-cli press ArrowDown\nplaywright-cli keydown Shift\nplaywright-cli keyup Shift\n```\n\n### Mouse\n\n```bash\nplaywright-cli mousemove 150 300\nplaywright-cli mousedown\nplaywright-cli mousedown right\nplaywright-cli mouseup\nplaywright-cli mouseup right\nplaywright-cli mousewheel 0 100\n```\n\n### Save as\n\n```bash\nplaywright-cli screenshot\nplaywright-cli screenshot e5\nplaywright-cli screenshot --filename=page.png\nplaywright-cli pdf --filename=page.pdf\n```\n\n### Tabs\n\n```bash\nplaywright-cli tab-list\nplaywright-cli tab-new\nplaywright-cli tab-new https:\u002F\u002Fexample.com\u002Fpage\nplaywright-cli tab-close\nplaywright-cli tab-close 2\nplaywright-cli tab-select 0\n```\n\n### Storage\n\n```bash\nplaywright-cli state-save\nplaywright-cli state-save auth.json\nplaywright-cli state-load auth.json\n\n# Cookies\nplaywright-cli cookie-list\nplaywright-cli cookie-list --domain=example.com\nplaywright-cli cookie-get session_id\nplaywright-cli cookie-set session_id abc123\nplaywright-cli cookie-set session_id abc123 --domain=example.com --httpOnly --secure\nplaywright-cli cookie-delete session_id\nplaywright-cli cookie-clear\n\n# LocalStorage\nplaywright-cli localstorage-list\nplaywright-cli localstorage-get theme\nplaywright-cli localstorage-set theme dark\nplaywright-cli localstorage-delete theme\nplaywright-cli localstorage-clear\n\n# SessionStorage\nplaywright-cli sessionstorage-list\nplaywright-cli sessionstorage-get step\nplaywright-cli sessionstorage-set step 3\nplaywright-cli sessionstorage-delete step\nplaywright-cli sessionstorage-clear\n```\n\n### Network\n\n```bash\nplaywright-cli route \"**\u002F*.jpg\" --status=404\nplaywright-cli route \"https:\u002F\u002Fapi.example.com\u002F**\" --body='{\"mock\": true}'\nplaywright-cli route-list\nplaywright-cli unroute \"**\u002F*.jpg\"\nplaywright-cli unroute\n```\n\n### DevTools\n\n```bash\nplaywright-cli console\nplaywright-cli console warning\nplaywright-cli network\nplaywright-cli run-code \"async page => await page.context().grantPermissions(['geolocation'])\"\nplaywright-cli run-code --filename=script.js\nplaywright-cli tracing-start\nplaywright-cli tracing-stop\nplaywright-cli video-start video.webm\nplaywright-cli video-chapter \"Chapter Title\" --description=\"Details\" --duration=2000\nplaywright-cli video-stop\n```\n\n## Raw output\n\nThe global `--raw` option strips page status, generated code, and snapshot sections from the output, returning only the result value. Use it to pipe command output into other tools. Commands that don't produce output return nothing.\n\n```bash\nplaywright-cli --raw eval \"JSON.stringify(performance.timing)\" | jq '.loadEventEnd - .navigationStart'\nplaywright-cli --raw eval \"JSON.stringify([...document.querySelectorAll('a')].map(a => a.href))\" > links.json\nplaywright-cli --raw snapshot > before.yml\nplaywright-cli click e5\nplaywright-cli --raw snapshot > after.yml\ndiff before.yml after.yml\nTOKEN=$(playwright-cli --raw cookie-get session_id)\nplaywright-cli --raw localstorage-get theme\n```\n\n## Open parameters\n```bash\n# Use specific browser when creating session\nplaywright-cli open --browser=chrome\nplaywright-cli open --browser=firefox\nplaywright-cli open --browser=webkit\nplaywright-cli open --browser=msedge\n\n# Use persistent profile (by default profile is in-memory)\nplaywright-cli open --persistent\n# Use persistent profile with custom directory\nplaywright-cli open --profile=\u002Fpath\u002Fto\u002Fprofile\n\n# Connect to browser via extension\nplaywright-cli attach --extension\n\n# Connect to a running Chrome or Edge by channel name\nplaywright-cli attach --cdp=chrome\nplaywright-cli attach --cdp=msedge\n\n# Connect to a running browser via CDP endpoint\nplaywright-cli attach --cdp=http:\u002F\u002Flocalhost:9222\n\n# Start with config file\nplaywright-cli open --config=my-config.json\n\n# Close the browser\nplaywright-cli close\n# Delete user data for the default session\nplaywright-cli delete-data\n```\n\n## Snapshots\n\nAfter each command, playwright-cli provides a snapshot of the current browser state.\n\n```bash\n> playwright-cli goto https:\u002F\u002Fexample.com\n### Page\n- Page URL: https:\u002F\u002Fexample.com\u002F\n- Page Title: Example Domain\n### Snapshot\n[Snapshot](.playwright-cli\u002Fpage-2026-02-14T19-22-42-679Z.yml)\n```\n\nYou can also take a snapshot on demand using `playwright-cli snapshot` command. All the options below can be combined as needed.\n\n```bash\n# default - save to a file with timestamp-based name\nplaywright-cli snapshot\n\n# save to file, use when snapshot is a part of the workflow result\nplaywright-cli snapshot --filename=after-click.yaml\n\n# snapshot an element instead of the whole page\nplaywright-cli snapshot \"#main\"\n\n# limit snapshot depth for efficiency, take a partial snapshot afterwards\nplaywright-cli snapshot --depth=4\nplaywright-cli snapshot e34\n```\n\n## Targeting elements\n\nBy default, use refs from the snapshot to interact with page elements.\n\n```bash\n# get snapshot with refs\nplaywright-cli snapshot\n\n# interact using a ref\nplaywright-cli click e15\n```\n\nYou can also use css selectors or Playwright locators.\n\n```bash\n# css selector\nplaywright-cli click \"#main > button.submit\"\n\n# role locator\nplaywright-cli click \"getByRole('button', { name: 'Submit' })\"\n\n# test id\nplaywright-cli click \"getByTestId('submit-button')\"\n```\n\n## Browser Sessions\n\n```bash\n# create new browser session named \"mysession\" with persistent profile\nplaywright-cli -s=mysession open example.com --persistent\n# same with manually specified profile directory (use when requested explicitly)\nplaywright-cli -s=mysession open example.com --profile=\u002Fpath\u002Fto\u002Fprofile\nplaywright-cli -s=mysession click e6\nplaywright-cli -s=mysession close  # stop a named browser\nplaywright-cli -s=mysession delete-data  # delete user data for persistent session\n\nplaywright-cli list\n# Close all browsers\nplaywright-cli close-all\n# Forcefully kill all browser processes\nplaywright-cli kill-all\n```\n\n## Installation\n\nIf global `playwright-cli` command is not available, try a local version via `npx playwright-cli`:\n\n```bash\nnpx --no-install playwright-cli --version\n```\n\nWhen local version is available, use `npx playwright-cli` in all commands. Otherwise, install `playwright-cli` as a global command:\n\n```bash\nnpm install -g @playwright\u002Fcli@latest\n```\n\n## Example: Form submission\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\u002Fform\nplaywright-cli snapshot\n\nplaywright-cli fill e1 \"user@example.com\"\nplaywright-cli fill e2 \"password123\"\nplaywright-cli click e3\nplaywright-cli snapshot\nplaywright-cli close\n```\n\n## Example: Multi-tab workflow\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\nplaywright-cli tab-new https:\u002F\u002Fexample.com\u002Fother\nplaywright-cli tab-list\nplaywright-cli tab-select 0\nplaywright-cli snapshot\nplaywright-cli close\n```\n\n## Example: Debugging with DevTools\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\nplaywright-cli click e4\nplaywright-cli fill e7 \"test\"\nplaywright-cli console\nplaywright-cli network\nplaywright-cli close\n```\n\n```bash\nplaywright-cli open https:\u002F\u002Fexample.com\nplaywright-cli tracing-start\nplaywright-cli click e4\nplaywright-cli fill e7 \"test\"\nplaywright-cli tracing-stop\nplaywright-cli close\n```\n\n## Specific tasks\n\n* **Running and Debugging Playwright tests** [references\u002Fplaywright-tests.md](references\u002Fplaywright-tests.md)\n* **Request mocking** [references\u002Frequest-mocking.md](references\u002Frequest-mocking.md)\n* **Running Playwright code** [references\u002Frunning-code.md](references\u002Frunning-code.md)\n* **Browser session management** [references\u002Fsession-management.md](references\u002Fsession-management.md)\n* **Storage state (cookies, localStorage)** [references\u002Fstorage-state.md](references\u002Fstorage-state.md)\n* **Test generation** [references\u002Ftest-generation.md](references\u002Ftest-generation.md)\n* **Tracing** [references\u002Ftracing.md](references\u002Ftracing.md)\n* **Video recording** [references\u002Fvideo-recording.md](references\u002Fvideo-recording.md)\n* **Inspecting element attributes** [references\u002Felement-attributes.md](references\u002Felement-attributes.md)\n",{"name":5,"description":7,"allowed-tools":51},"Bash(playwright-cli:*) Bash(npx:*) Bash(npm:*)","main","23e1ac256e2e9e6db842cd4bd064cede2a850b05","app\u002F.agents\u002Fskills\u002Fplaywright-cli",3,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots","https:\u002F\u002Fgithub.com\u002Fmicrosoft","https:\u002F\u002Fopensource.microsoft.com","Open source projects and samples from Microsoft","2026-11-14 00:07:46",{"source":9,"skillName":5,"commands":62,"prompt":71,"zipAvailable":72},[63,65,68],{"tool":42,"command":64},"npx skills add microsoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots --skill playwright-cli",{"tool":66,"command":67},"bunx","bunx skills add microsoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots --skill playwright-cli",{"tool":69,"command":70},"pnpm","pnpm dlx skills add microsoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots --skill playwright-cli","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002FSKILL.md",true,[74,80,84,88,92,96,100,104,108],{"path":75,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":78,"sourceHtmlUrl":79},"references\u002Felement-attributes.md","REFERENCE","参考文档",665,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Felement-attributes.md",{"path":81,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":82,"sourceHtmlUrl":83},"references\u002Fplaywright-tests.md",1635,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fplaywright-tests.md",{"path":85,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":86,"sourceHtmlUrl":87},"references\u002Frequest-mocking.md",2182,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Frequest-mocking.md",{"path":89,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":90,"sourceHtmlUrl":91},"references\u002Frunning-code.md",5398,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Frunning-code.md",{"path":93,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":94,"sourceHtmlUrl":95},"references\u002Fsession-management.md",5108,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fsession-management.md",{"path":97,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":98,"sourceHtmlUrl":99},"references\u002Fstorage-state.md",5198,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fstorage-state.md",{"path":101,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":102,"sourceHtmlUrl":103},"references\u002Ftest-generation.md",2411,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Ftest-generation.md",{"path":105,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":106,"sourceHtmlUrl":107},"references\u002Ftracing.md",3440,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Ftracing.md",{"path":109,"resourceType":76,"resourceTypeDesc":77,"sizeBytes":110,"sourceHtmlUrl":111},"references\u002Fvideo-recording.md",5385,"https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FAnalyticsHub-Dashboard\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fplaywright-cli\u002Freferences\u002Fvideo-recording.md",[113,148,183,211,239,265],{"skillNo":114,"name":115,"nameZh":116,"description":117,"descriptionZh":118,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":119,"categories":120,"keywords":127,"publishedAt":46},"01M69B9T4X5TYZ11KW4J9Q0W44","visuals","数据可视化组件开发","Use when user wants to incorporate charts, graphs, data grid,  or other visual representations of data into their project. Use VegaVisual and DataGrid components to create these visuals,  utilizing the shared DataTable input, formatting, theme, and interactivity. Covers the VisualContainer chrome every visual gets by default, the onInteraction selection\u002Fclick events host apps consume, named multi-table data input for layered overlays and reference lines, and Vega-Lite native selections.","当用户希望将图表、图形、数据网格或其他数据可视化形式添加到项目中使用。使用 VegaVisual 和 DataGrid 组件创建这些可视化效果，利用共享的 DataTable 输入、格式化、主题和交互功能。涵盖每个可视化组件默认自带的 VisualContainer 外框、宿主应用使用的 onInteraction 选择\u002F点击事件、用于分层叠加和参考线的命名多表数据输入，以及 Vega-Lite 原生选择功能。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fvisuals\u002FSKILL.md",[121,124],{"categoryNo":122,"categoryName":123,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQ6TQZN6R52WBJ9H8NRMQM","软件开发工程师",{"categoryNo":125,"categoryName":126,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BRASNPVNJVQQJ4KZX8XM5D","前端开发与界面实现",[115,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147],"chrome","components","create","data","Charts","table","default","selection","shared","project","formatting","click","host","apps","input","events","theme","native","overlays","when",{"skillNo":149,"name":150,"nameZh":151,"description":152,"descriptionZh":153,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":154,"categories":155,"keywords":162,"publishedAt":46},"01M69B9QMWZM9VV7K45A58E4ED","schema-discovery","Power BI 语义模型架构探索","Explore Power BI semantic model schemas using DAX INFO functions. Progressive metadata discovery strategy, scope estimation, and narrowing techniques for tables, columns, measures, and relationships.","使用 DAX INFO 函数探索 Power BI 语义模型架构。提供渐进式元数据发现策略、范围估计，以及针对表、列、度量值和关系的收窄技术。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fschema-discovery\u002FSKILL.md",[156,159],{"categoryNo":157,"categoryName":158,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQGD4CMBM6B4PWSM1NXGT9","数据分析与报告",{"categoryNo":160,"categoryName":161,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BQGD5CX980XNXCJKQF70BY","数据分析师",[163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182],"schema discovery","discovery","schema","dax","power bi","explore","model","strategy","power","functions","info","relationships","estimation","semantic","scope","bi","columns","tables","techniques","for",{"skillNo":184,"name":185,"nameZh":186,"description":187,"descriptionZh":188,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":189,"categories":190,"keywords":193,"publishedAt":46},"01M69B9MERN0RER50J0A391ZSM","query-design","DAX 数据查询设计","Separates DAX data-fetching from TypeScript presentation. Guides when to use  DAX vs. TypeScript vs. Vega-Lite for aggregation, total rows, FORMAT(), SELECTCOLUMNS,  BLANK handling, filtering, multi-grain queries, cross-filtering and cross-highlight subset\u002Foverlay queries, and format strings.","将 DAX 数据获取与 TypeScript 展示分离。指导何时使用 DAX、TypeScript 或 Vega-Lite 进行聚合、总行数统计、FORMAT()、SELECTCOLUMNS、BLANK 处理、筛选、多粒度查询、交叉筛选与交叉高亮的子集\u002F叠加查询，以及格式字符串。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fquery-design\u002FSKILL.md",[191,192],{"categoryNo":157,"categoryName":158,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":160,"categoryName":161,"taxonomyType":23,"taxonomyTypeDesc":24},[194,195,196,197,166,131,198,199,200,201,202,203,204,205,206,207,182,208,209,210,147],"design","query design","query","typescript","aggregation","format","filtering","use","queries","data-fetching","guides","multi","presentation","strings","when to use","overlay","grain",{"skillNo":212,"name":213,"nameZh":214,"description":215,"descriptionZh":216,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":217,"categories":218,"keywords":223,"publishedAt":46},"01M69B9DPRM5T4MEQ64GFK92CD","fabric-sdk","Fabric SDK 应用开发","How to use @microsoft\u002Ffabric-app-data to connect web applications to Fabric data sources at runtime. Build browser-based apps that query semantic models via DAX using the FabricClient API.","介绍如何使用 @microsoft\u002Ffabric-app-data 在运行时将 Web 应用程序连接到 Fabric 数据源。构建基于浏览器的应用，通过 FabricClient API 使用 DAX 查询语义模型。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Ffabric-sdk\u002FSKILL.md",[219,222],{"categoryNo":220,"categoryName":221,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BQ6TKQDF2K4KQS863Q79P4","开发参考",{"categoryNo":122,"categoryName":123,"taxonomyType":23,"taxonomyTypeDesc":24},[224,225,226,35,10,166,227,228,229,36,131,230,231,232,201,196,233,234,141,235,236,237,238],"sdk","fabric sdk","fabric","connect","fabric data","semantic models","applications","api","how","runtime","app","how to","sources","at","data sources",{"skillNo":240,"name":241,"nameZh":242,"description":243,"descriptionZh":244,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":245,"categories":246,"keywords":253,"publishedAt":46},"01M69B9B40C4FHECS223FPFPJF","fabric-cli","Fabric 数据源连接管理","How to use fabric-app-data CLI to manage Fabric data source connections. Maintain workspace\u002Fitem IDs in a fabric.yaml file with profiles, add connections by ID or Fabric portal URL, and generate TypeScript config for use with @microsoft\u002Ffabric-app-data.","如何使用 fabric-app-data CLI 管理 Fabric 数据源连接。在 fabric.yaml 文件中通过 profiles 维护工作区（workspace）和项目（item）ID，通过 ID 或 Fabric 门户 URL 添加连接，并生成 TypeScript 配置以供 @microsoft\u002Ffabric-app-data 使用。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Ffabric-cli\u002FSKILL.md",[247,250],{"categoryNo":248,"categoryName":249,"taxonomyType":23,"taxonomyTypeDesc":24},"01M8BTGTEHKD89NSZ5CT4Y5AGV","数据工程师",{"categoryNo":251,"categoryName":252,"taxonomyType":28,"taxonomyTypeDesc":29},"01M8BWDNFEHJCBZX47YY896K05","应用连接器集成",[31,254,226,197,10,255,256,228,131,257,232,258,259,260,234,235,261,262,263,182,264],"fabric cli","config","generate","ids","manage","maintain","connections","add","URL","profiles","source",{"skillNo":266,"name":267,"nameZh":268,"description":269,"descriptionZh":270,"repositoryFullName":9,"ownerLogin":10,"ownerAvatarUrl":11,"ownerAccountNo":12,"ownerDisplayName":13,"repositoryNo":14,"starsCount":15,"licenseSpdxId":16,"licenseFileUrl":17,"sourceHtmlUrl":271,"categories":272,"keywords":275,"publishedAt":46},"01M69B9823D0KZDVWR4FPJE95J","dax-authoring","DAX 查询编写与测试","Write and test DAX queries against Power BI semantic models. Covers DAX syntax rules, query patterns, time intelligence, and an iterative test workflow using the Fabric CLI query command.","针对 Power BI 语义模型编写和测试 DAX 查询。涵盖 DAX 语法规则、查询模式、时间智能（time intelligence），以及使用 Fabric CLI query 命令的迭代测试工作流。","https:\u002F\u002Fgithub.com\u002Fmicrosoft\u002FDataHub-App-for-Microsoft-Copilot-Agents-Cowork-and-Autopilots\u002Fblob\u002Fmain\u002Fapp\u002F.agents\u002Fskills\u002Fdax-authoring\u002FSKILL.md",[273,274],{"categoryNo":157,"categoryName":158,"taxonomyType":28,"taxonomyTypeDesc":29},{"categoryNo":160,"categoryName":161,"taxonomyType":23,"taxonomyTypeDesc":24},[166,276,277,31,278,34,254,167,226,229,279,280,281,282,171,283,202,196,284,178],"dax authoring","authoring","workflow","Rules","syntax","command","write","models","time"]