天问 bc65d6943f Update 'README.md' | 8 months ago | |
---|---|---|
README.md | 8 months ago |
微软对标 selenium 浏览器自动化测试工具,支持nodejs,python等多语言sdk
使用超级简单,代码运行后会自动下载最新版chrome,edge,firefox,ffmpeg ,以及driver,600MB,首次运行需要下载环境。
windows保存到 :
C:\Users\xx\AppData\Local\ms-playwright
初始化一个项目:
npm init playwright@latest new-project
pip install playwright==1.33.0
playwright install
playwright install-deps
python:
from playwright.sync_api import sync_playwright
需要更多自定义,采用 selenium