smoke — staging

Friday, 28 August 2026 17:16:00
Total Iterations

1

Total Assertions

3

Total Failed Tests

0

Total Skipped Tests

0


File Information
Collection: Smoke API Tests
Collection Description
เทสตัวอย่าง ไว้พิสูจน์ว่า pipeline ทำงาน — เปลี่ยนเป็น collection จริงได้เลย
Timings and Data
Total run duration: 143ms
Total data received: 12.24KB
Average response time: 44ms
Summary Item Total Failed
Requests 2 0
Prerequest Scripts 0 0
Test Scripts 2 0
Assertions 3 0
Skipped Tests 0 -



There are no failed tests





There are no skipped tests



1 Iteration available to view
Request Information
Request Method: GET
Request URL: https://playwright.dev/
Response Information
Response Code: 200 - OK
Mean time per request: 76ms
Mean size per request: 20.21KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 7027ccaa-a05d-481f-b4c5-7667a76785c2
Host playwright.dev
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Connection keep-alive
Content-Length 6268
Server GitHub.com
Content-Type text/html; charset=utf-8
x-origin-cache HIT
Last-Modified Wed, 26 Aug 2026 20:17:34 GMT
Access-Control-Allow-Origin *
Strict-Transport-Security max-age=31556952
ETag W/"6a8f49de-50db"
expires Fri, 28 Aug 2026 10:11:23 GMT
Cache-Control max-age=600
Content-Encoding gzip
x-proxy-cache HIT
X-GitHub-Request-Id 0A74:318190:3CD278:40D38C:6A915DE8
x-github-edge-region southeastasia
Accept-Ranges bytes
Age 75
Date Fri, 28 Aug 2026 10:16:00 GMT
Via 1.1 varnish
X-Served-By cache-bkk2280021-BKK
X-Cache HIT
X-Cache-Hits 0
X-Timer S1787912161.828759,VS0,VE1
Vary Accept-Encoding
X-Fastly-Request-ID 1b2c9a6227c609e56b929e45021270c35e89b9f4
Response Body
<!doctype html><html lang=en dir=ltr class="plugin-pages plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.1"><title data-rh=true>Fast and reliable end-to-end testing for modern web apps | Playwright</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://repository-images.githubusercontent.com/221981891/8c5c6942-c91f-4df1-825f-4cf474056bd7 /><meta data-rh=true name=twitter:image content=https://repository-images.githubusercontent.com/221981891/8c5c6942-c91f-4df1-825f-4cf474056bd7 /><meta data-rh=true property=og:url content=https://playwright.dev/ /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=og:title content="Fast and reliable end-to-end testing for modern web apps | Playwright"/><meta data-rh=true name=description content="Web automation and testing for apps, scripts, and AI agents"/><meta data-rh=true property=og:description content="Web automation and testing for apps, scripts, and AI agents"/><link data-rh=true rel=icon href=/img/playwright-logo.ico /><link data-rh=true rel=canonical href=https://playwright.dev/ /><link data-rh=true rel=alternate href=https://playwright.dev/ hreflang=en /><link data-rh=true rel=alternate href=https://playwright.dev/ hreflang=x-default /><link data-rh=true rel=preconnect href=https://K09ICMCV6X-dsn.algolia.net crossorigin=anonymous /><script data-rh=true>document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()});function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container",n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n   <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n   <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n   <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span>  (default value)</p>\n   <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}</script><link rel=search type=application/opensearchdescription+xml title=Playwright href=/opensearch.xml><script src=/js/redirection.js></script><link rel=stylesheet href=/assets/css/styles.8ebb20b1.css /><script src=/assets/js/runtime~main.3d302f4a.js defer></script><script src=/assets/js/main.4d3217ee.js defer></script></head><body><svg style="display: none;"><defs>
        <symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
        </defs></svg>
        <script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-e2a")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/playwright-logo.svg alt="Playwright logo" class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/playwright-logo.svg alt="Playwright logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">Playwright</b></a><a class="navbar__item navbar__link" href=/docs/intro>Docs</a><a class="navbar__item navbar__link" href=/mcp/introduction>MCP</a><a class="navbar__item navbar__link" href=/agent-cli/introduction>CLI</a><a class="navbar__item navbar__link" href=/docs/api/class-playwright>API</a><div class="navbar__item dropdown dropdown--hoverable"><a href=# aria-haspopup=true aria-expanded=false role=button class=navbar__link>Node.js</a><ul class=dropdown__menu><li><a href=/ target=_self rel="noopener noreferrer" class="dropdown__link undefined dropdown__link--active" data-language-prefix=/>Node.js</a><li><a href=/python/ target=_self rel="noopener noreferrer" class=dropdown__link data-language-prefix=/python/>Python</a><li><a href=/java/ target=_self rel="noopener noreferrer" class=dropdown__link data-language-prefix=/java/>Java</a><li><a href=/dotnet/ target=_self rel="noopener noreferrer" class=dropdown__link data-language-prefix=/dotnet/>.NET</a></ul></div></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/microsoft/playwright target=_blank rel="noopener noreferrer" class="navbar__item navbar__link header-github-link" aria-label="GitHub repository"></a><a href=https://aka.ms/playwright/discord target=_blank rel="noopener noreferrer" class="navbar__item navbar__link header-discord-link" aria-label="Discord server"></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><button type=button class="DocSearch DocSearch-Button" aria-label="Search (Meta+k)" aria-keyshortcuts=Meta+k><span class=DocSearch-Button-Container><svg width=20 height=20 class=DocSearch-Search-Icon viewBox="0 0 24 24" aria-hidden=true><circle cx=11 cy=11 r=8 stroke=currentColor fill=none stroke-width=1.4 /><path d="m21 21-4.3-4.3" stroke=currentColor fill=none stroke-linecap=round stroke-linejoin=round /></svg><span class=DocSearch-Button-Placeholder>Search</span></span><span class=DocSearch-Button-Keys></span></button></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><header class="hero hero--primary heroBanner_UJJx"><div class=container><h1 class="hero__title heroTitle_ohkl"><span class=highlight_gXVj>Playwright</span> enables reliable web automation for testing, scripting, and AI agents.</h1><p class=heroSubtitle_GKHc>One API to drive Chromium, Firefox, and WebKit — in your tests, your scripts, and your agent workflows. Available for<!-- --> <a href=https://playwright.dev/docs/intro>TypeScript</a>,<!-- --> <a href=https://playwright.dev/python/docs/intro>Python</a>,<!-- --> <a href=https://playwright.dev/dotnet/docs/intro>.NET</a>, and<!-- --> <a href=https://playwright.dev/java/docs/intro>Java</a>.<div class=buttons_pzbO><a class=getStarted_Sjon href=/docs/intro>Get started</a><span class="github-btn github-stargazers github-btn-large"><a class=gh-btn href=https://github.com/microsoft/playwright rel="noopener noreferrer" target=_blank aria-label="Star microsoft/playwright on GitHub"><span class=gh-ico aria-hidden=true></span><span class=gh-text>Star</span></a><a class=gh-count href=https://github.com/microsoft/playwright/stargazers rel="noopener noreferrer" target=_blank aria-label="95k+ stargazers on GitHub" style=display:block>95k+</a></span></div></div></header><main><section class=pathCards_cPva><div class=container><div class=row><div class="col col--4 pathCard_fFQW"><h3>Playwright Test</h3><p>Full-featured test runner with auto-waiting, assertions, tracing, and parallelism across Chromium, Firefox, and WebKit.</p><code class=installCode_lxde>npm init playwright@latest</code><div class=pathCardLink_NkwN><a href=/docs/intro>Testing documentation</a></div></div><div class="col col--4 pathCard_fFQW"><h3>Playwright CLI</h3><p>Token-efficient browser automation for coding agents like Claude Code and GitHub Copilot. Skill-based workflows without large context overhead.</p><code class=installCode_lxde>npm i -g @playwright/cli@latest</code><div class=pathCardLink_NkwN><a href=/docs/getting-started-cli>CLI documentation</a></div></div><div class="col col--4 pathCard_fFQW"><h3>Playwright MCP</h3><p>Model Context Protocol server that gives AI agents full browser control through structured accessibility snapshots.</p><code class=installCode_lxde>npx @playwright/mcp@latest</code><div class=pathCardLink_NkwN><a href=/docs/getting-started-mcp>MCP documentation</a></div></div></div></div></section><section class="featureSection_efmM featureSectionAlt_XlZb"><div class=container><h2 class=featureSectionTitle__Rac>Built for testing</h2><div class=featureSectionContent_DG7g><div class=row><div class="col col--6"><h4>Auto-wait and web-first assertions</h4><p>Playwright waits for elements to be actionable before performing actions. Assertions automatically retry until conditions are met. No artificial timeouts, no flaky tests.<h4>Test isolation</h4><p>Each test gets a fresh browser context — equivalent to a brand new browser profile. Full isolation with near-zero overhead. Save authentication state once and reuse it across tests.</div><div class="col col--6"><h4>Resilient locators</h4><p>Find elements with selectors that mirror how users see the page:<!-- --> <code>getByRole</code>, <code>getByLabel</code>, <code>getByPlaceholder</code>,<!-- --> <code>getByTestId</code>. No brittle CSS paths.<h4>Parallelism and sharding</h4><p>Tests run in parallel by default across all configured browsers. Shard across multiple machines for faster CI. Full cross-browser coverage on every commit.</div></div></div></div></section><section class=featureSection_efmM><div class=container><h2 class=featureSectionTitle__Rac>Built for AI agents</h2><div class=featureSectionContent_DG7g><div class=row><div class="col col--6"><h4>Accessibility snapshots, not screenshots</h4><p>Agents interact with pages through structured accessibility trees — element roles, names, and refs. Deterministic and unambiguous, no vision models required.<h4>MCP server</h4><p>Drop-in <a href=https://modelcontextprotocol.io target=_blank rel="noreferrer noopener">Model Context Protocol</a> server for VS Code, Cursor, Claude Desktop, Windsurf, and any MCP client. Full browser control through standard tool calls.</div><div class="col col--6"><h4>CLI for coding agents</h4><p>Token-efficient command-line interface with installable skills. Purpose-built for Claude Code, GitHub Copilot, and similar coding agents that need to balance browser automation with large codebases.<h4>Session monitoring</h4><p>Visual dashboard with live screencast previews of all running browser sessions. Click any session to zoom in and take control.</div></div></div></div></section><section class="featureSection_efmM featureSectionAlt_XlZb"><div class=container><h2 class=featureSectionTitle__Rac>Powerful tooling</h2><div class=featureSectionContent_DG7g><div class=row><div class="col col--4"><h4><a href=docs/codegen>Test generator</a></h4><p>Record your actions in the browser and Playwright writes the test code. Generate assertions from the recording toolbar. Pick locators by clicking on elements.</div><div class="col col--4"><h4><a href=docs/trace-viewer-intro>Trace Viewer</a></h4><p>Full timeline of test execution with DOM snapshots, network requests, console logs, and screenshots at every step. Investigate failures without re-running.</div><div class="col col--4"><h4><a href=docs/getting-started-vscode>VS Code extension</a></h4><p>Run, debug, and generate tests directly in the editor. Set breakpoints, live-inspect locators in the browser, and view full execution traces in the sidebar.</div></div></div></div></section><section class=crossBrowser_o5jx><div class=container style=text-align:center><img src=img/logos/Browsers.png width=30% alt="Chromium, Firefox, WebKit"/><p class=crossBrowserText_q4c8><b>Any browser. Any platform.</b> Chromium, Firefox, and WebKit on Linux, macOS, and Windows. Headless and headed. Also available for<!-- --> <a href=https://playwright.dev/python/docs/intro>Python</a>,<!-- --> <a href=https://playwright.dev/dotnet/docs/intro>.NET</a>, and<!-- --> <a href=https://playwright.dev/java/docs/intro>Java</a>.</div></section><section class=logosSection_gMWS><div class=container><div class=row><div class="col col--12 logosColumn_GJVT"><h2>Chosen by companies and open source projects</h2><ul class=logosList_zAAF><li><a href=https://code.visualstudio.com target=_blank rel="noreferrer noopener"><img src=img/logos/VSCode.png alt="VS Code"/></a><li><a href=https://bing.com target=_blank rel="noreferrer noopener"><img src=img/logos/Bing.png alt=Bing /></a><li><a href=https://outlook.com target=_blank rel="noreferrer noopener"><img src=img/logos/Outlook.png alt=Outlook /></a><li><a href=https://www.hotstar.com/ target=_blank rel="noreferrer noopener"><img src=img/logos/DHotstar.jpg alt="Disney+ Hotstar"/></a><li><a href=https://github.com/mui-org/material-ui target=_blank rel="noreferrer noopener"><img src=img/logos/MUI.png alt="Material UI"/></a><li><a href=https://github.com/ing-bank/lion target=_blank rel="noreferrer noopener"><img src=img/logos/ING.png alt=ING /></a><li><a href=https://github.com/adobe/spectrum-web-components target=_blank rel="noreferrer noopener"><img src=img/logos/Adobe2.png alt=Adobe /></a><li><a href=https://github.com/react-navigation/react-navigation target=_blank rel="noreferrer noopener"><img src=img/logos/ReactNavigation.png alt="React Navigation"/></a><li><a href=https://accessibilityinsights.io/ target=_blank rel="noreferrer noopener"><img src=img/logos/accessibilityinsights.png alt="Accessibility Insights"/></a></ul></div></div></div></section></main></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Learn</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs/intro>Getting started</a><li class=footer__item><a href=https://learn.microsoft.com/en-us/training/modules/build-with-playwright/ target=_blank rel="noopener noreferrer" class=footer__link-item>Playwright Training<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a class=footer__link-item href=/community/learn-videos>Learn Videos</a><li class=footer__item><a class=footer__link-item href=/community/feature-videos>Feature Videos</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Community</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://stackoverflow.com/questions/tagged/playwright target=_blank rel="noopener noreferrer" class=footer__link-item>Stack Overflow<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://aka.ms/playwright/discord target=_blank rel="noopener noreferrer" class=footer__link-item>Discord<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://x.com/playwrightweb target=_blank rel="noopener noreferrer" class=footer__link-item>X<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://www.linkedin.com/company/playwrightweb target=_blank rel="noopener noreferrer" class=footer__link-item>LinkedIn<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/microsoft/playwright target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://www.youtube.com/channel/UC46Zj8pDH5tDosqm1gd7WTg target=_blank rel="noopener noreferrer" class=footer__link-item>YouTube<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://dev.to/playwright target=_blank rel="noopener noreferrer" class=footer__link-item>Blog<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a class=footer__link-item href=/community/ambassadors>Ambassadors</a><li class=footer__item><a href="https://go.microsoft.com/fwlink/?LinkId=521839" target=_blank rel="noopener noreferrer" class=footer__link-item>Microsoft Privacy Statement<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Microsoft</div></div></div></footer></div></body>
Test Information
NamePassedFailedSkipped
status เป็น 200 1 0 0
ตอบกลับภายใน 3 วินาที 1 0 0
Total 2 0 0
Test Failure
Test NameAssertion Error
Request Information
Request Method: GET
Request URL: https://playwright.dev/
Response Information
Response Code: 200 - OK
Mean time per request: 12ms
Mean size per request: 20.21KB

Test Pass Percentage
100 %
Request Headers
Header NameHeader Value
User-Agent PostmanRuntime/7.39.1
Accept */*
Cache-Control no-cache
Postman-Token 826ea981-2607-460a-a82e-9f7ae1c76e1c
Host playwright.dev
Accept-Encoding gzip, deflate, br
Connection keep-alive
Response Headers
Header NameHeader Value
Connection keep-alive
Content-Length 6268
Server GitHub.com
Content-Type text/html; charset=utf-8
x-origin-cache HIT
Last-Modified Wed, 26 Aug 2026 20:17:34 GMT
Access-Control-Allow-Origin *
Strict-Transport-Security max-age=31556952
ETag W/"6a8f49de-50db"
expires Fri, 28 Aug 2026 10:11:23 GMT
Cache-Control max-age=600
Content-Encoding gzip
x-proxy-cache HIT
X-GitHub-Request-Id 0A74:318190:3CD278:40D38C:6A915DE8
x-github-edge-region southeastasia
Accept-Ranges bytes
Date Fri, 28 Aug 2026 10:16:00 GMT
Via 1.1 varnish
Age 75
X-Served-By cache-bkk2280021-BKK
X-Cache HIT
X-Cache-Hits 1
X-Timer S1787912161.875399,VS0,VE1
Vary Accept-Encoding
X-Fastly-Request-ID ea189a84217f5bbd59950928b3611a01029a15dc
Response Body
<!doctype html><html lang=en dir=ltr class="plugin-pages plugin-id-default" data-has-hydrated=false><head><meta charset=UTF-8><meta name=generator content="Docusaurus v3.10.1"><title data-rh=true>Fast and reliable end-to-end testing for modern web apps | Playwright</title><meta data-rh=true name=viewport content="width=device-width, initial-scale=1.0"/><meta data-rh=true name=twitter:card content=summary_large_image /><meta data-rh=true property=og:image content=https://repository-images.githubusercontent.com/221981891/8c5c6942-c91f-4df1-825f-4cf474056bd7 /><meta data-rh=true name=twitter:image content=https://repository-images.githubusercontent.com/221981891/8c5c6942-c91f-4df1-825f-4cf474056bd7 /><meta data-rh=true property=og:url content=https://playwright.dev/ /><meta data-rh=true property=og:locale content=en /><meta data-rh=true name=docusaurus_locale content=en /><meta data-rh=true name=docusaurus_tag content=default /><meta data-rh=true name=docsearch:language content=en /><meta data-rh=true name=docsearch:docusaurus_tag content=default /><meta data-rh=true property=og:title content="Fast and reliable end-to-end testing for modern web apps | Playwright"/><meta data-rh=true name=description content="Web automation and testing for apps, scripts, and AI agents"/><meta data-rh=true property=og:description content="Web automation and testing for apps, scripts, and AI agents"/><link data-rh=true rel=icon href=/img/playwright-logo.ico /><link data-rh=true rel=canonical href=https://playwright.dev/ /><link data-rh=true rel=alternate href=https://playwright.dev/ hreflang=en /><link data-rh=true rel=alternate href=https://playwright.dev/ hreflang=x-default /><link data-rh=true rel=preconnect href=https://K09ICMCV6X-dsn.algolia.net crossorigin=anonymous /><script data-rh=true>document.addEventListener("DOMContentLoaded",function(){void 0===window.docusaurus&&insertBanner()});function insertBanner(){var n=document.createElement("div");n.id="__docusaurus-base-url-issue-banner-container",n.innerHTML='\n<div id="__docusaurus-base-url-issue-banner" style="border: thick solid red; background-color: rgb(255, 230, 179); margin: 20px; padding: 20px; font-size: 20px;">\n   <p style="font-weight: bold; font-size: 30px;">Your Docusaurus site did not load properly.</p>\n   <p>A very common reason is a wrong site <a href="https://docusaurus.io/docs/docusaurus.config.js/#baseUrl" style="font-weight: bold;">baseUrl configuration</a>.</p>\n   <p>Current configured baseUrl = <span style="font-weight: bold; color: red;">/</span>  (default value)</p>\n   <p>We suggest trying baseUrl = <span id="__docusaurus-base-url-issue-banner-suggestion-container" style="font-weight: bold; color: green;"></span></p>\n</div>\n',document.body.prepend(n);var e=document.getElementById("__docusaurus-base-url-issue-banner-suggestion-container"),s=window.location.pathname;e.innerHTML="/"===s.substr(-1)?s:s+"/"}</script><link rel=search type=application/opensearchdescription+xml title=Playwright href=/opensearch.xml><script src=/js/redirection.js></script><link rel=stylesheet href=/assets/css/styles.8ebb20b1.css /><script src=/assets/js/runtime~main.3d302f4a.js defer></script><script src=/assets/js/main.4d3217ee.js defer></script></head><body><svg style="display: none;"><defs>
        <symbol id=theme-svg-external-link viewBox="0 0 24 24"><path fill=currentColor d="M21 13v10h-21v-19h12v2h-10v15h17v-8h2zm3-12h-10.988l4.035 4-6.977 7.07 2.828 2.828 6.977-7.07 4.125 4.172v-11z"/></symbol>
        </defs></svg>
        <script>!function(){var t=function(){try{return new URLSearchParams(window.location.search).get("docusaurus-theme")}catch(t){}}()||function(){try{return window.localStorage.getItem("theme-e2a")}catch(t){}}();document.documentElement.setAttribute("data-theme",t||(window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light")),document.documentElement.setAttribute("data-theme-choice",t||"system")}(),function(){try{for(var[t,e]of new URLSearchParams(window.location.search).entries())if(t.startsWith("docusaurus-data-")){var a=t.replace("docusaurus-data-","data-");document.documentElement.setAttribute(a,e)}}catch(t){}}()</script><div id=__docusaurus><div role=region aria-label="Skip to main content"><a class=skipToContent_fXgn href=#__docusaurus_skipToContent_fallback>Skip to main content</a></div><nav aria-label=Main class="theme-layout-navbar navbar navbar--fixed-top"><div class=navbar__inner><div class="theme-layout-navbar-left navbar__items"><button aria-label="Toggle navigation bar" aria-expanded=false class="navbar__toggle clean-btn" type=button><svg width=30 height=30 viewBox="0 0 30 30" aria-hidden=true><path stroke=currentColor stroke-linecap=round stroke-miterlimit=10 stroke-width=2 d="M4 7h22M4 15h22M4 23h22"/></svg></button><a class=navbar__brand href=/><div class=navbar__logo><img src=/img/playwright-logo.svg alt="Playwright logo" class="themedComponent_mlkZ themedComponent--light_NVdE"/><img src=/img/playwright-logo.svg alt="Playwright logo" class="themedComponent_mlkZ themedComponent--dark_xIcU"/></div><b class="navbar__title text--truncate">Playwright</b></a><a class="navbar__item navbar__link" href=/docs/intro>Docs</a><a class="navbar__item navbar__link" href=/mcp/introduction>MCP</a><a class="navbar__item navbar__link" href=/agent-cli/introduction>CLI</a><a class="navbar__item navbar__link" href=/docs/api/class-playwright>API</a><div class="navbar__item dropdown dropdown--hoverable"><a href=# aria-haspopup=true aria-expanded=false role=button class=navbar__link>Node.js</a><ul class=dropdown__menu><li><a href=/ target=_self rel="noopener noreferrer" class="dropdown__link undefined dropdown__link--active" data-language-prefix=/>Node.js</a><li><a href=/python/ target=_self rel="noopener noreferrer" class=dropdown__link data-language-prefix=/python/>Python</a><li><a href=/java/ target=_self rel="noopener noreferrer" class=dropdown__link data-language-prefix=/java/>Java</a><li><a href=/dotnet/ target=_self rel="noopener noreferrer" class=dropdown__link data-language-prefix=/dotnet/>.NET</a></ul></div></div><div class="theme-layout-navbar-right navbar__items navbar__items--right"><a href=https://github.com/microsoft/playwright target=_blank rel="noopener noreferrer" class="navbar__item navbar__link header-github-link" aria-label="GitHub repository"></a><a href=https://aka.ms/playwright/discord target=_blank rel="noopener noreferrer" class="navbar__item navbar__link header-discord-link" aria-label="Discord server"></a><div class="toggle_vylO colorModeToggle_DEke"><button class="clean-btn toggleButton_gllP toggleButtonDisabled_aARS" type=button disabled title="system mode" aria-label="Switch between dark and light mode (currently system mode)"><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP lightToggleIcon_pyhR"><path fill=currentColor d="M12,9c1.65,0,3,1.35,3,3s-1.35,3-3,3s-3-1.35-3-3S10.35,9,12,9 M12,7c-2.76,0-5,2.24-5,5s2.24,5,5,5s5-2.24,5-5 S14.76,7,12,7L12,7z M2,13l2,0c0.55,0,1-0.45,1-1s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S1.45,13,2,13z M20,13l2,0c0.55,0,1-0.45,1-1 s-0.45-1-1-1l-2,0c-0.55,0-1,0.45-1,1S19.45,13,20,13z M11,2v2c0,0.55,0.45,1,1,1s1-0.45,1-1V2c0-0.55-0.45-1-1-1S11,1.45,11,2z M11,20v2c0,0.55,0.45,1,1,1s1-0.45,1-1v-2c0-0.55-0.45-1-1-1C11.45,19,11,19.45,11,20z M5.99,4.58c-0.39-0.39-1.03-0.39-1.41,0 c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0s0.39-1.03,0-1.41L5.99,4.58z M18.36,16.95 c-0.39-0.39-1.03-0.39-1.41,0c-0.39,0.39-0.39,1.03,0,1.41l1.06,1.06c0.39,0.39,1.03,0.39,1.41,0c0.39-0.39,0.39-1.03,0-1.41 L18.36,16.95z M19.42,5.99c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06c-0.39,0.39-0.39,1.03,0,1.41 s1.03,0.39,1.41,0L19.42,5.99z M7.05,18.36c0.39-0.39,0.39-1.03,0-1.41c-0.39-0.39-1.03-0.39-1.41,0l-1.06,1.06 c-0.39,0.39-0.39,1.03,0,1.41s1.03,0.39,1.41,0L7.05,18.36z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP darkToggleIcon_wfgR"><path fill=currentColor d="M9.37,5.51C9.19,6.15,9.1,6.82,9.1,7.5c0,4.08,3.32,7.4,7.4,7.4c0.68,0,1.35-0.09,1.99-0.27C17.45,17.19,14.93,19,12,19 c-3.86,0-7-3.14-7-7C5,9.07,6.81,6.55,9.37,5.51z M12,3c-4.97,0-9,4.03-9,9s4.03,9,9,9s9-4.03,9-9c0-0.46-0.04-0.92-0.1-1.36 c-0.98,1.37-2.58,2.26-4.4,2.26c-2.98,0-5.4-2.42-5.4-5.4c0-1.81,0.89-3.42,2.26-4.4C12.92,3.04,12.46,3,12,3L12,3z"/></svg><svg viewBox="0 0 24 24" width=24 height=24 aria-hidden=true class="toggleIcon_g3eP systemToggleIcon_QzmC"><path fill=currentColor d="m12 21c4.971 0 9-4.029 9-9s-4.029-9-9-9-9 4.029-9 9 4.029 9 9 9zm4.95-13.95c1.313 1.313 2.05 3.093 2.05 4.95s-0.738 3.637-2.05 4.95c-1.313 1.313-3.093 2.05-4.95 2.05v-14c1.857 0 3.637 0.737 4.95 2.05z"/></svg></button></div><div class=navbarSearchContainer_Bca1><button type=button class="DocSearch DocSearch-Button" aria-label="Search (Meta+k)" aria-keyshortcuts=Meta+k><span class=DocSearch-Button-Container><svg width=20 height=20 class=DocSearch-Search-Icon viewBox="0 0 24 24" aria-hidden=true><circle cx=11 cy=11 r=8 stroke=currentColor fill=none stroke-width=1.4 /><path d="m21 21-4.3-4.3" stroke=currentColor fill=none stroke-linecap=round stroke-linejoin=round /></svg><span class=DocSearch-Button-Placeholder>Search</span></span><span class=DocSearch-Button-Keys></span></button></div></div></div><div role=presentation class=navbar-sidebar__backdrop></div></nav><div id=__docusaurus_skipToContent_fallback class="theme-layout-main main-wrapper mainWrapper_z2l0"><header class="hero hero--primary heroBanner_UJJx"><div class=container><h1 class="hero__title heroTitle_ohkl"><span class=highlight_gXVj>Playwright</span> enables reliable web automation for testing, scripting, and AI agents.</h1><p class=heroSubtitle_GKHc>One API to drive Chromium, Firefox, and WebKit — in your tests, your scripts, and your agent workflows. Available for<!-- --> <a href=https://playwright.dev/docs/intro>TypeScript</a>,<!-- --> <a href=https://playwright.dev/python/docs/intro>Python</a>,<!-- --> <a href=https://playwright.dev/dotnet/docs/intro>.NET</a>, and<!-- --> <a href=https://playwright.dev/java/docs/intro>Java</a>.<div class=buttons_pzbO><a class=getStarted_Sjon href=/docs/intro>Get started</a><span class="github-btn github-stargazers github-btn-large"><a class=gh-btn href=https://github.com/microsoft/playwright rel="noopener noreferrer" target=_blank aria-label="Star microsoft/playwright on GitHub"><span class=gh-ico aria-hidden=true></span><span class=gh-text>Star</span></a><a class=gh-count href=https://github.com/microsoft/playwright/stargazers rel="noopener noreferrer" target=_blank aria-label="95k+ stargazers on GitHub" style=display:block>95k+</a></span></div></div></header><main><section class=pathCards_cPva><div class=container><div class=row><div class="col col--4 pathCard_fFQW"><h3>Playwright Test</h3><p>Full-featured test runner with auto-waiting, assertions, tracing, and parallelism across Chromium, Firefox, and WebKit.</p><code class=installCode_lxde>npm init playwright@latest</code><div class=pathCardLink_NkwN><a href=/docs/intro>Testing documentation</a></div></div><div class="col col--4 pathCard_fFQW"><h3>Playwright CLI</h3><p>Token-efficient browser automation for coding agents like Claude Code and GitHub Copilot. Skill-based workflows without large context overhead.</p><code class=installCode_lxde>npm i -g @playwright/cli@latest</code><div class=pathCardLink_NkwN><a href=/docs/getting-started-cli>CLI documentation</a></div></div><div class="col col--4 pathCard_fFQW"><h3>Playwright MCP</h3><p>Model Context Protocol server that gives AI agents full browser control through structured accessibility snapshots.</p><code class=installCode_lxde>npx @playwright/mcp@latest</code><div class=pathCardLink_NkwN><a href=/docs/getting-started-mcp>MCP documentation</a></div></div></div></div></section><section class="featureSection_efmM featureSectionAlt_XlZb"><div class=container><h2 class=featureSectionTitle__Rac>Built for testing</h2><div class=featureSectionContent_DG7g><div class=row><div class="col col--6"><h4>Auto-wait and web-first assertions</h4><p>Playwright waits for elements to be actionable before performing actions. Assertions automatically retry until conditions are met. No artificial timeouts, no flaky tests.<h4>Test isolation</h4><p>Each test gets a fresh browser context — equivalent to a brand new browser profile. Full isolation with near-zero overhead. Save authentication state once and reuse it across tests.</div><div class="col col--6"><h4>Resilient locators</h4><p>Find elements with selectors that mirror how users see the page:<!-- --> <code>getByRole</code>, <code>getByLabel</code>, <code>getByPlaceholder</code>,<!-- --> <code>getByTestId</code>. No brittle CSS paths.<h4>Parallelism and sharding</h4><p>Tests run in parallel by default across all configured browsers. Shard across multiple machines for faster CI. Full cross-browser coverage on every commit.</div></div></div></div></section><section class=featureSection_efmM><div class=container><h2 class=featureSectionTitle__Rac>Built for AI agents</h2><div class=featureSectionContent_DG7g><div class=row><div class="col col--6"><h4>Accessibility snapshots, not screenshots</h4><p>Agents interact with pages through structured accessibility trees — element roles, names, and refs. Deterministic and unambiguous, no vision models required.<h4>MCP server</h4><p>Drop-in <a href=https://modelcontextprotocol.io target=_blank rel="noreferrer noopener">Model Context Protocol</a> server for VS Code, Cursor, Claude Desktop, Windsurf, and any MCP client. Full browser control through standard tool calls.</div><div class="col col--6"><h4>CLI for coding agents</h4><p>Token-efficient command-line interface with installable skills. Purpose-built for Claude Code, GitHub Copilot, and similar coding agents that need to balance browser automation with large codebases.<h4>Session monitoring</h4><p>Visual dashboard with live screencast previews of all running browser sessions. Click any session to zoom in and take control.</div></div></div></div></section><section class="featureSection_efmM featureSectionAlt_XlZb"><div class=container><h2 class=featureSectionTitle__Rac>Powerful tooling</h2><div class=featureSectionContent_DG7g><div class=row><div class="col col--4"><h4><a href=docs/codegen>Test generator</a></h4><p>Record your actions in the browser and Playwright writes the test code. Generate assertions from the recording toolbar. Pick locators by clicking on elements.</div><div class="col col--4"><h4><a href=docs/trace-viewer-intro>Trace Viewer</a></h4><p>Full timeline of test execution with DOM snapshots, network requests, console logs, and screenshots at every step. Investigate failures without re-running.</div><div class="col col--4"><h4><a href=docs/getting-started-vscode>VS Code extension</a></h4><p>Run, debug, and generate tests directly in the editor. Set breakpoints, live-inspect locators in the browser, and view full execution traces in the sidebar.</div></div></div></div></section><section class=crossBrowser_o5jx><div class=container style=text-align:center><img src=img/logos/Browsers.png width=30% alt="Chromium, Firefox, WebKit"/><p class=crossBrowserText_q4c8><b>Any browser. Any platform.</b> Chromium, Firefox, and WebKit on Linux, macOS, and Windows. Headless and headed. Also available for<!-- --> <a href=https://playwright.dev/python/docs/intro>Python</a>,<!-- --> <a href=https://playwright.dev/dotnet/docs/intro>.NET</a>, and<!-- --> <a href=https://playwright.dev/java/docs/intro>Java</a>.</div></section><section class=logosSection_gMWS><div class=container><div class=row><div class="col col--12 logosColumn_GJVT"><h2>Chosen by companies and open source projects</h2><ul class=logosList_zAAF><li><a href=https://code.visualstudio.com target=_blank rel="noreferrer noopener"><img src=img/logos/VSCode.png alt="VS Code"/></a><li><a href=https://bing.com target=_blank rel="noreferrer noopener"><img src=img/logos/Bing.png alt=Bing /></a><li><a href=https://outlook.com target=_blank rel="noreferrer noopener"><img src=img/logos/Outlook.png alt=Outlook /></a><li><a href=https://www.hotstar.com/ target=_blank rel="noreferrer noopener"><img src=img/logos/DHotstar.jpg alt="Disney+ Hotstar"/></a><li><a href=https://github.com/mui-org/material-ui target=_blank rel="noreferrer noopener"><img src=img/logos/MUI.png alt="Material UI"/></a><li><a href=https://github.com/ing-bank/lion target=_blank rel="noreferrer noopener"><img src=img/logos/ING.png alt=ING /></a><li><a href=https://github.com/adobe/spectrum-web-components target=_blank rel="noreferrer noopener"><img src=img/logos/Adobe2.png alt=Adobe /></a><li><a href=https://github.com/react-navigation/react-navigation target=_blank rel="noreferrer noopener"><img src=img/logos/ReactNavigation.png alt="React Navigation"/></a><li><a href=https://accessibilityinsights.io/ target=_blank rel="noreferrer noopener"><img src=img/logos/accessibilityinsights.png alt="Accessibility Insights"/></a></ul></div></div></div></section></main></div><footer class="theme-layout-footer footer footer--dark"><div class="container container-fluid"><div class="row footer__links"><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Learn</div><ul class="footer__items clean-list"><li class=footer__item><a class=footer__link-item href=/docs/intro>Getting started</a><li class=footer__item><a href=https://learn.microsoft.com/en-us/training/modules/build-with-playwright/ target=_blank rel="noopener noreferrer" class=footer__link-item>Playwright Training<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a class=footer__link-item href=/community/learn-videos>Learn Videos</a><li class=footer__item><a class=footer__link-item href=/community/feature-videos>Feature Videos</a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>Community</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://stackoverflow.com/questions/tagged/playwright target=_blank rel="noopener noreferrer" class=footer__link-item>Stack Overflow<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://aka.ms/playwright/discord target=_blank rel="noopener noreferrer" class=footer__link-item>Discord<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://x.com/playwrightweb target=_blank rel="noopener noreferrer" class=footer__link-item>X<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://www.linkedin.com/company/playwrightweb target=_blank rel="noopener noreferrer" class=footer__link-item>LinkedIn<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div><div class="theme-layout-footer-column col footer__col"><div class=footer__title>More</div><ul class="footer__items clean-list"><li class=footer__item><a href=https://github.com/microsoft/playwright target=_blank rel="noopener noreferrer" class=footer__link-item>GitHub<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://www.youtube.com/channel/UC46Zj8pDH5tDosqm1gd7WTg target=_blank rel="noopener noreferrer" class=footer__link-item>YouTube<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a href=https://dev.to/playwright target=_blank rel="noopener noreferrer" class=footer__link-item>Blog<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a><li class=footer__item><a class=footer__link-item href=/community/ambassadors>Ambassadors</a><li class=footer__item><a href="https://go.microsoft.com/fwlink/?LinkId=521839" target=_blank rel="noopener noreferrer" class=footer__link-item>Microsoft Privacy Statement<svg width=13.5 height=13.5 aria-label="(opens in new tab)" class=iconExternalLink_nPIU><use href=#theme-svg-external-link /></svg></a></ul></div></div><div class="footer__bottom text--center"><div class=footer__copyright>Copyright © 2026 Microsoft</div></div></div></footer></div></body>
Test Information
NamePassedFailedSkipped
body ไม่ว่าง 1 0 0
Total 1 0 0
Test Failure
Test NameAssertion Error