[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-70740":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":25,"topics":26,"createdAt":10,"pushedAt":10,"updatedAt":31,"readmeContent":32,"aiSummary":33,"trendingCount":16,"starSnapshotCount":16,"syncStatus":34,"lastSyncTime":35,"discoverSource":36},70740,"playwright-python","microsoft\u002Fplaywright-python","microsoft","Python version of the Playwright testing and automation library.","https:\u002F\u002Fplaywright.dev\u002Fpython\u002F",null,"Python",14740,1179,153,6,0,16,54,124,48,119.22,"Apache License 2.0",false,"main",true,[27,28,29,30],"chromium","firefox","playwright","webkit","2026-06-12 04:00:57","# 🎭 [Playwright](https:\u002F\u002Fplaywright.dev) for Python [![PyPI version](https:\u002F\u002Fbadge.fury.io\u002Fpy\u002Fplaywright.svg)](https:\u002F\u002Fpypi.python.org\u002Fpypi\u002Fplaywright\u002F) [![Anaconda version](https:\u002F\u002Fimg.shields.io\u002Fconda\u002Fv\u002Fmicrosoft\u002Fplaywright)](https:\u002F\u002Fanaconda.org\u002FMicrosoft\u002Fplaywright) [![Join Discord](https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fjoin-discord-infomational)](https:\u002F\u002Faka.ms\u002Fplaywright\u002Fdiscord)\n\nPlaywright is a Python library to automate [Chromium](https:\u002F\u002Fwww.chromium.org\u002FHome), [Firefox](https:\u002F\u002Fwww.mozilla.org\u002Fen-US\u002Ffirefox\u002Fnew\u002F) and [WebKit](https:\u002F\u002Fwebkit.org\u002F) browsers with a single API. Playwright delivers automation that is **ever-green**, **capable**, **reliable** and **fast**. [See how Playwright is better](https:\u002F\u002Fplaywright.dev\u002Fpython).\n\n|          | Linux | macOS | Windows |\n|   :---   | :---: | :---: | :---:   |\n| Chromium \u003C!-- GEN:chromium-version -->148.0.7778.96\u003C!-- GEN:stop --> | ✅ | ✅ | ✅ |\n| WebKit \u003C!-- GEN:webkit-version -->26.4\u003C!-- GEN:stop --> | ✅ | ✅ | ✅ |\n| Firefox \u003C!-- GEN:firefox-version -->150.0.2\u003C!-- GEN:stop --> | ✅ | ✅ | ✅ |\n\n## Documentation\n\n[https:\u002F\u002Fplaywright.dev\u002Fpython\u002Fdocs\u002Fintro](https:\u002F\u002Fplaywright.dev\u002Fpython\u002Fdocs\u002Fintro)\n\n## API Reference\n\n[https:\u002F\u002Fplaywright.dev\u002Fpython\u002Fdocs\u002Fapi\u002Fclass-playwright](https:\u002F\u002Fplaywright.dev\u002Fpython\u002Fdocs\u002Fapi\u002Fclass-playwright)\n\n## Example\n\n```py\nfrom playwright.sync_api import sync_playwright\n\nwith sync_playwright() as p:\n    for browser_type in [p.chromium, p.firefox, p.webkit]:\n        browser = browser_type.launch()\n        page = browser.new_page()\n        page.goto('http:\u002F\u002Fplaywright.dev')\n        page.screenshot(path=f'example-{browser_type.name}.png')\n        browser.close()\n```\n\n```py\nimport asyncio\nfrom playwright.async_api import async_playwright\n\nasync def main():\n    async with async_playwright() as p:\n        for browser_type in [p.chromium, p.firefox, p.webkit]:\n            browser = await browser_type.launch()\n            page = await browser.new_page()\n            await page.goto('http:\u002F\u002Fplaywright.dev')\n            await page.screenshot(path=f'example-{browser_type.name}.png')\n            await browser.close()\n\nasyncio.run(main())\n```\n\n## Other languages\n\nMore comfortable in another programming language? [Playwright](https:\u002F\u002Fplaywright.dev) is also available in\n- [Node.js (JavaScript \u002F TypeScript)](https:\u002F\u002Fplaywright.dev\u002Fdocs\u002Fintro),\n- [.NET](https:\u002F\u002Fplaywright.dev\u002Fdotnet\u002Fdocs\u002Fintro),\n- [Java](https:\u002F\u002Fplaywright.dev\u002Fjava\u002Fdocs\u002Fintro).\n","Playwright 是一个用于自动化测试和浏览器操作的 Python 库，支持 Chromium、Firefox 和 WebKit 三大主流浏览器。其核心功能包括通过统一的 API 实现跨浏览器的网页自动化任务，如页面导航、元素交互及截图等，并且具备持续更新、功能强大、稳定可靠以及高效快速的特点。适用于需要进行前端自动化测试、网页抓取或任何涉及浏览器自动化的场景。",2,"2026-06-11 03:33:57","high_star"]