Playwright
Eric(讨论 | 贡献)2023年4月10日 (一) 04:18的版本 (创建页面,内容为“Playwright是微软源的一个Web测试和自动化框架。支持 Chromium、Firefox和WebKit浏览器,Linux、macOS和Windows平台,Python、.NET和Java等多语言。 ==简介== ===时间轴=== ===安装=== 安装Python版本: <syntaxhighlight lang="bash" > # 安装pytest插件版playwright # pip install pytest-playwright # 安装Pytest pip install playwright # 安装所有支持的浏览器及配置驱动 # playwright ins…”)
Playwright是微软源的一个Web测试和自动化框架。支持 Chromium、Firefox和WebKit浏览器,Linux、macOS和Windows平台,Python、.NET和Java等多语言。
简介
时间轴
安装
安装Python版本:
# 安装pytest插件版playwright
# pip install pytest-playwright
# 安装Pytest
pip install playwright
# 安装所有支持的浏览器及配置驱动
# playwright install
# 只安装chrome浏览器及配置驱动,使用playwright install -h可以查看帮助
# 目前支持chromium, chrome, chrome-beta, msedge, msedge-beta, msedge-dev, firefox, webkit浏览器。
playwright install chrome
了解更多 >> Playwright Python 文档:安装
快速入门
资源
官网
- Playwright 官网:https://playwright.dev
- Playwright 源代码:https://github.com/microsoft/playwright
- Playwright Python 文档:https://playwright.dev/python/docs/intro