url: https://en.wikipedia.org/wiki/Playwright_(software)
title: Playwright (software) - Wikipedia
scroll: 0/4911 (viewport 1280x800; [below]/[above] = outside viewport)
@e1 link "Jump to content" href="#bodyContent"
@e2 link href="/wiki/Main_Page"
@e3 searchbox "Search Wikipedia"
@e4 button "Search"
@e5 link "Donate" href="https://donate.wikimedia.org/?wmf_source=donate&wmf_medium=sidebar&wmf_campaign=en.wikipedia.org&uselang=en"
@e6 link "Create account" href="/w/index.php?title=Special:CreateAccount&returnto=Playwright+%28software%29"
@e7 link "Log in" href="/w/index.php?title=Special:UserLogin&returnto=Playwright+%28software%29"
@e8 button "Close"
@e9 button "$2.75"
@e10 button "$15"
@e11 button "$25"
@e12 button "$50"
@e13 button "$100"
@e14 button "$250"
@e15 button "$500"
@e16 button "Other"
@e17 button "Maybe later"
@e18 link "Problems donating?" href="https://wikimediafoundation.org/give/donor-frequently-asked-questions/#problems-donating"
@e19 link "Frequently asked questions" href="https://wikimediafoundation.org/give/donor-frequently-asked-questions/"
@e20 link "Where your donation goes" href="#"
@e21 link "Other ways to give" href="https://wikimediafoundation.org/give/#ways-to-give"
@e22 link "I already donated" href="#"
@e23 link "donor privacy policy" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Donor_privacy_policy?uselang=en"
@e24 link "Wikimedia Foundation" href="https://wikimediafoundation.org/give/donor-frequently-asked-questions/#tax-deductibility"
@e25 link "easy cancellation instructions" href="https://wikimediafoundation.org/give/manage-your-donation/"
h2 "Contents"
@e26 button "Hide Contents"
@e27 link "(Top)" href="#"
@e28 link "@playwright/test" href="#@playwright/test"
@e29 link "History" href="#History"
@e30 link "Usage and examples" href="#Usage_and_examples" [below]
@e31 button "Toggle Usage and examples subsection" [expanded=true] [below]
@e32 link "Configuration" href="#Configuration" [below]
@e33 link "Debugging features" href="#Debugging_features" [below]
@e34 link "Reporters" href="#Reporters" [below]
@e35 link "Usage Trends" href="#Usage_Trends" [below]
@e36 link "References" href="#References" [below]
@e37 link "Further reading" href="#Further_reading" [below]
@e38 link "External links" href="#External_links" [below]
h1 "Playwright (software)"
@e39 link "Article" href="/wiki/Playwright_(software)"
@e40 link "Talk" href="/wiki/Talk:Playwright_(software)"
@e41 link "Read" href="/wiki/Playwright_(software)"
@e42 link "Edit" href="/w/index.php?title=Playwright_(software)&action=edit"
@e43 link "View history" href="/w/index.php?title=Playwright_(software)&action=history"
@e44 button "Hide Appearance"
@e45 link href="https://en.wikipedia.org/wiki/File:Playwright_Logo.svg" [below]
@e46 link "Developer" href="https://en.wikipedia.org/wiki/Programmer" [below]
@e47 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e48 link "[1]" href="#cite_note-1" [below]
@e49 link "Stable release" href="https://en.wikipedia.org/wiki/Software_release_life_cycle" [below]
@e50 link "[2]" href="#cite_note-wikidata-a14f371b2bf75a2ed7e4aeeca292554aa224b1d4-v20-2" [below]
@e51 link "Edit this on Wikidata" href="https://www.wikidata.org/wiki/Q123162820?uselang=en#P348" [below]
@e52 link "TypeScript" href="https://en.wikipedia.org/wiki/TypeScript" [below]
@e53 link "Operating system" href="https://en.wikipedia.org/wiki/Operating_system" [below]
@e54 link "Microsoft Windows" href="https://en.wikipedia.org/wiki/Microsoft_Windows" [below]
@e55 link "macOS" href="https://en.wikipedia.org/wiki/MacOS" [below]
@e56 link "Linux" href="https://en.wikipedia.org/wiki/Linux" [below]
@e57 link "Type" href="https://en.wikipedia.org/wiki/Software_categories#Categorization_approaches" [below]
@e58 link "Software testing" href="https://en.wikipedia.org/wiki/Software_testing" [below]
@e59 link "framework" href="https://en.wikipedia.org/wiki/Software_framework" [below]
@e60 link "web applications" href="https://en.wikipedia.org/wiki/Web_application" [below]
@e61 link "License" href="https://en.wikipedia.org/wiki/Software_license" [below]
@e62 link "Apache License 2.0" href="https://en.wikipedia.org/wiki/Apache_License_2.0" [below]
@e63 link "playwright.dev" href="https://playwright.dev/" [below]
@e64 link "Repository" href="https://en.wikipedia.org/wiki/Repository_(version_control)" [below]
@e65 link "github.com/microsoft/playwright" href="https://github.com/microsoft/playwright" [below]
@e66 link "open-source" href="https://en.wikipedia.org/wiki/Open-source"
@e67 link "web scraping" href="https://en.wikipedia.org/wiki/Web_scraping"
@e68 link "[3]" href="#cite_note-3"
@e69 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e70 link "[4]" href="#cite_note-4" [below]
@e71 link "[5]" href="#cite_note-5" [below]
@e72 link "programmers" href="https://en.wikipedia.org/wiki/Programmer" [below]
@e73 link "web developers" href="https://en.wikipedia.org/wiki/Web_developer" [below]
@e74 link "Chromium" href="https://en.wikipedia.org/wiki/Chromium_(web_browser)" [below]
@e75 link "Firefox" href="https://en.wikipedia.org/wiki/Firefox" [below]
@e76 link "WebKit" href="https://en.wikipedia.org/wiki/WebKit" [below]
@e77 link "[6]" href="#cite_note-6" [below]
@e78 link "Google Chrome" href="https://en.wikipedia.org/wiki/Google_Chrome" [below]
@e79 link "Microsoft Edge" href="https://en.wikipedia.org/wiki/Microsoft_Edge" [below]
@e80 link "[7]" href="#cite_note-7" [below]
@e81 link "JavaScript" href="https://en.wikipedia.org/wiki/JavaScript" [below]
@e82 link "Python" href="https://en.wikipedia.org/wiki/Python_(programming_language)" [below]
@e83 link "C#" href="https://en.wikipedia.org/wiki/C_Sharp_(programming_language)" [below]
@e84 link "Java" href="https://en.wikipedia.org/wiki/Java_(software_platform)" [below]
@e85 link "Node.js" href="https://en.wikipedia.org/wiki/Node.js" [below]
h2 "@playwright/test" [below]
@e86 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=1" [below]
@e87 link "[8]" href="#cite_note-8" [below]
@e88 link "[9]" href="#cite_note-9" [below]
@e89 link "[10]" href="#cite_note-10" [below]
h2 "History" [below]
@e90 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=2" [below]
@e91 link "[11]" href="#cite_note-11" [below]
@e92 link "Puppeteer" href="https://en.wikipedia.org/wiki/Puppeteer_(software)" [below]
@e93 link "Cypress" href="https://en.wikipedia.org/wiki/Cypress_(software)" [below]
@e94 link "Selenium" href="https://en.wikipedia.org/wiki/Selenium_(software)" [below]
@e95 link "Google" href="https://en.wikipedia.org/wiki/Google" [below]
@e96 link "[12]" href="#cite_note-12" [below]
@e97 link "[13]" href="#cite_note-13" [below]
h2 "Usage and examples" [below]
@e98 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=3" [below]
@e99 link "https://example.com" href="https://example.com" [below]
@e100 link "https://example.com" href="https://example.com" [below]
@e101 link "[14]" href="#cite_note-14" [below]
h3 "Configuration" [below]
@e102 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=4" [below]
h3 "Debugging features" [below]
@e103 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=5" [below]
@e104 link "[15]" href="#cite_note-15" [below]
h3 "Reporters" [below]
@e105 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=6" [below]
@e106 link "[16]" href="#cite_note-16" [below]
@e107 link "[17]" href="#cite_note-17" [below]
@e108 link "Monocart Reporter" href="https://github.com/cenfun/monocart-reporter" [below]
@e109 link "Currents" href="https://currents.dev/" [below]
@e110 link "ReportPortal" href="https://reportportal.io/" [below]
@e111 link "Allure Report" href="https://allurereport.org/" [below]
h3 "Usage Trends" [below]
@e112 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=7" [below]
@e113 link "[18]" href="#cite_note-18" [below]
h2 "References" [below]
@e114 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=8" [below]
@e115 link "Jump up" href="#cite_ref-1" [below]
@e116 link "\"v0.10.0 release\"" href="https://github.com/microsoft/playwright/releases/tag/v0.10.0" [below]
@e117 link "GitHub" href="https://en.wikipedia.org/wiki/GitHub" [below]
@e118 link "Jump up" href="#cite_ref-wikidata-a14f371b2bf75a2ed7e4aeeca292554aa224b1d4-v20_2-0" [below]
@e119 link "\"Release 1.62.1\"" href="https://github.com/microsoft/playwright/releases/tag/v1.62.1" [below]
@e120 link "Jump up" href="#cite_ref-3" [below]
@e121 link "Jump up" href="#cite_ref-4" [below]
@e122 link "\"Microsoft's Playwright simplifies tests for Python web apps\"" href="https://www.infoworld.com/article/2260489/microsofts-playwright-simplifies-tests-for-python-web-apps.html" [below]
@e123 link "InfoWorld" href="https://en.wikipedia.org/wiki/InfoWorld" [below]
@e124 link "Jump up" href="#cite_ref-5" [below]
@e125 link "\"Microsoft: Playwright for Python language lets you test web apps in all major browsers\"" href="https://www.zdnet.com/article/microsoft-playwright-for-python-language-lets-you-test-web-apps-in-all-major-browsers/" [below]
@e126 link "ZDNET" href="https://en.wikipedia.org/wiki/ZDNET" [below]
@e127 link "Jump up" href="#cite_ref-6" [below]
@e128 link "\"Playwright, a Time-Saving End-to-End Testing Framework\"" href="https://thenewstack.io/playwright-a-time-saving-end-to-end-testing-framework/" [below]
@e129 link "Jump up" href="#cite_ref-7" [below]
@e130 link "\"Supported browsers\"" href="https://playwright.dev/docs/browsers" [below]
@e131 link "Jump up" href="#cite_ref-8" [below]
@e132 link "\"Assertions\"" href="https://playwright.dev/docs/test-assertions" [below]
@e133 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e134 link "Jump up" href="#cite_ref-9" [below]
@e135 link "\"Library\"" href="https://playwright.dev/docs/library#:~:text=Under%20most%20circumstances%2C%20for%20end,playwright%20(Playwright%20Library)%20directly" [below]
@e136 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e137 link "Jump up" href="#cite_ref-10" [below]
@e138 link "\"Parallelism and sharding\"" href="https://playwright.dev/docs/test-parallel" [below]
@e139 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e140 link "Jump up" href="#cite_ref-11" [below]
@e141 link "\"Announcing Playwright for Python: Reliable end-to-end testing for the web\"" href="https://devblogs.microsoft.com/python/announcing-playwright-for-python-reliable-end-to-end-testing-for-the-web/" [below]
@e142 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e143 link "Jump up" href="#cite_ref-12" [below]
@e144 link "\"Microsoft Announces Playwright Alternative to Puppeteer\"" href="https://www.infoq.com/news/2020/01/playwright-browser-automation/" [below]
@e145 link "InfoQ" href="https://en.wikipedia.org/wiki/InfoQ" [below]
@e146 link "Jump up" href="#cite_ref-13" [below]
@e147 link "\"A Comparative Analysis of Playwright Adoption vs Cypress and Selenium\"" href="https://ray.run/blog/the-rapid-adoption-of-playwright-test-in-software-qa#:~:text=it's%20worth%20noting%20that%20playwright's%20github%20stars%20have%20been%20growing%20at%20a%20faster%20rate%20than%2" [below]
@e148 link "Jump up" href="#cite_ref-14" [below]
@e149 link "\"toHaveTitle assertion\"" href="https://playwright.dev/docs/api/class-pageassertions#page-assertions-to-have-title" [below]
@e150 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e151 link "Jump up" href="#cite_ref-15" [below]
@e152 link "\"How to Use Playwright for End-to-End Testing\"" href="https://www.roundproxies.com/blog/how-to-use-playwright/" [below]
@e153 link "Jump up" href="#cite_ref-16" [below]
@e154 link "\"Playwright Reporter API\"" href="https://playwright.dev/docs/test-reporters#built-in-reporters" [below]
@e155 link "Jump up" href="#cite_ref-17" [below]
@e156 link "\"Playwright Reporter API\"" href="https://playwright.dev/docs/api/class-reporter" [below]
@e157 link "Jump up" href="#cite_ref-18" [below]
@e158 link "\"Playwright vs Selenium vs Cypress: Best 2025 Comparison\"" href="https://thinksys.com/qa-testing/playwright-vs-selenium-vs-cypress/" [below]
h2 "Further reading" [below]
@e159 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=9" [below]
@e160 link "Packt Publishing" href="https://en.wikipedia.org/wiki/Packt_Publishing" [below]
@e161 link "ISBN" href="https://en.wikipedia.org/wiki/ISBN_(identifier)" [below]
@e162 link "978-1803238319" href="https://en.wikipedia.org/wiki/Special:BookSources/978-1803238319" [below]
@e163 link "Packt Publishing" href="https://en.wikipedia.org/wiki/Packt_Publishing" [below]
@e164 link "ISBN" href="https://en.wikipedia.org/wiki/ISBN_(identifier)" [below]
@e165 link "978-1837638338" href="https://en.wikipedia.org/wiki/Special:BookSources/978-1837638338" [below]
h2 "External links" [below]
@e166 link "edit" href="/w/index.php?title=Playwright_(software)&action=edit&section=10" [below]
@e167 link "Official website" href="https://playwright.dev/" [below]
@e168 link "playwright" href="https://github.com/microsoft/playwright" [below]
@e169 link "GitHub" href="https://en.wikipedia.org/wiki/GitHub" [below]
@e170 button "show" [expanded=false] [below]
@e171 link "v" href="https://en.wikipedia.org/wiki/Template:Microsoft_development_tools" [below]
@e172 link "t" href="https://en.wikipedia.org/wiki/Template_talk:Microsoft_development_tools" [below]
@e173 link "e" href="https://en.wikipedia.org/wiki/Special:EditPage/Template:Microsoft_development_tools" [below]
@e174 button "show" [expanded=false] [below]
@e175 link "v" href="https://en.wikipedia.org/wiki/Template:Microsoft_FOSS" [below]
@e176 link "t" href="https://en.wikipedia.org/wiki/Template_talk:Microsoft_FOSS" [below]
@e177 link "e" href="https://en.wikipedia.org/wiki/Special:EditPage/Template:Microsoft_FOSS" [below]
@e178 link "Microsoft" href="https://en.wikipedia.org/wiki/Microsoft" [below]
@e179 link "free and open-source software (FOSS)" href="https://en.wikipedia.org/wiki/Free_and_open-source_software" [below]
@e180 link "Portal" href="https://en.wikipedia.org/wiki/Wikipedia:Contents/Portals" [below]
@e181 link "Free and open-source software" href="https://en.wikipedia.org/wiki/Portal:Free_and_open-source_software" [below]
@e182 link "Categories" href="/wiki/Help:Category" [below]
@e183 link "Graphical user interface testing" href="/wiki/Category:Graphical_user_interface_testing" [below]
@e184 link "Free software testing tools" href="/wiki/Category:Free_software_testing_tools" [below]
@e185 link "Software using the Apache license" href="/wiki/Category:Software_using_the_Apache_license" [below]
@e186 link "Microsoft free software" href="/wiki/Category:Microsoft_free_software" [below]
@e187 link "2020 software" href="/wiki/Category:2020_software" [below]
@e188 link "Cross-platform free software" href="/wiki/Category:Cross-platform_free_software" [below]
@e189 link "Free software for Linux" href="/wiki/Category:Free_software_for_Linux" [below]
@e190 link "Free software for Windows" href="/wiki/Category:Free_software_for_Windows" [below]
@e191 link "Free software for macOS" href="/wiki/Category:Free_software_for_macOS" [below]
@e192 link "Free software programmed in TypeScript" href="/wiki/Category:Free_software_programmed_in_TypeScript" [below]
@e193 link "Parsoid" href="https://www.mediawiki.org/wiki/Special:MyLanguage/Parsoid" [below]
@e194 link "Creative Commons Attribution-ShareAlike 4.0 License" href="/wiki/Wikipedia:Text_of_the_Creative_Commons_Attribution-ShareAlike_4.0_International_License" [below]
@e195 link "Terms of Use" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Terms_of_Use" [below]
@e196 link "Privacy Policy" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" [below]
@e197 link "Wikimedia Foundation, Inc." href="https://wikimediafoundation.org/" [below]
@e198 link "Privacy policy" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Privacy_policy" [below]
@e199 link "About Wikipedia" href="/wiki/Wikipedia:About" [below]
@e200 link "Disclaimers" href="/wiki/Wikipedia:General_disclaimer" [below]
@e201 link "Contact Wikipedia" href="//en.wikipedia.org/wiki/Wikipedia:Contact_us" [below]
@e202 link "Legal & safety contacts" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Legal:Wikimedia_Foundation_Legal_and_Safety_Contact_Information" [below]
@e203 link "Code of Conduct" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Universal_Code_of_Conduct" [below]
@e204 link "Developers" href="https://developer.wikimedia.org" [below]
@e205 link "Statistics" href="https://stats.wikimedia.org/#/en.wikipedia.org" [below]
@e206 link "Cookie statement" href="https://foundation.wikimedia.org/wiki/Special:MyLanguage/Policy:Cookie_statement" [below]
@e207 link "Mobile view" href="//en.wikipedia.org/w/index.php?title=Playwright_(software)&mobileaction=toggle_view_mobile" [below]
@e208 link "Wikimedia Foundation" href="https://www.wikimedia.org/" [below]
@e209 link "Powered by MediaWiki" href="https://www.mediawiki.org/" [below]
