Auto-sync: 2026-04-16 21:08
This commit is contained in:
20
wiki/concepts/Playwright.md
Normal file
20
wiki/concepts/Playwright.md
Normal file
@@ -0,0 +1,20 @@
|
||||
---
|
||||
title: "Playwright"
|
||||
type: concept
|
||||
tags: [自动化, 浏览器, Playwright]
|
||||
date: 2025-11-11
|
||||
---
|
||||
|
||||
## Definition
|
||||
Playwright 是 Microsoft 开发的浏览器自动化工具,支持 Chromium、Firefox 和 WebKit,可模拟用户操作和渲染动态页面。
|
||||
|
||||
## Key Features
|
||||
- 可模拟浏览器、支持无头模式、可靠性高
|
||||
- 支持滚动加载、视频图片加载
|
||||
|
||||
## Role
|
||||
在电商数据采集系统中,Playwright 负责加载动态页面、渲染 JavaScript 内容,与 Scrapy 配合实现完整爬取。
|
||||
|
||||
## Connections
|
||||
- [[Scrapy]] ← depends_on ← [[Playwright]]
|
||||
- [[Playwright]] ← runs_in ← [[Docker]]
|
||||
Reference in New Issue
Block a user