微软对标 selenium 浏览器自动化工具

天问 bc65d6943f Update 'README.md' 7 months ago
README.md bc65d6943f Update 'README.md' 7 months ago

README.md

playwright

微软对标 selenium 浏览器自动化测试工具,支持nodejs,python等多语言sdk

Usage

使用超级简单,代码运行后会自动下载最新版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

Reference

playwright官网