playwright环境搭建
1、pip install playwright 安装playwright
2、playwright install 安装无头模式浏览器

等待安装完成

安装pytest- playwright

设置默认运行使用pytest运行

使用录制功能
命令行输入: playwright codegen 网址

就会给我们打开这样一个页面

1、pip install playwright 安装playwright
2、playwright install 安装无头模式浏览器

等待安装完成

安装pytest- playwright

设置默认运行使用pytest运行

使用录制功能
命令行输入: playwright codegen 网址

就会给我们打开这样一个页面
