摘要: Playwright Inspector是一个GUI工具,帮助创作和调试Playwright 脚本。 一、打开Playwright Inspector 有几种打开剧作家检查器的方法: 1、设置PWDEBUG环境变量以在调试模式下运行脚本。这将配置playwright进行调试,并打开inspector 阅读全文
posted @ 2022-04-26 22:07 lwjnicole 阅读(2476) 评论(0) 推荐(0) 编辑
摘要: 一、安装 Pip pip install playwright Conda 下载Playwright软件包,并为Chromium、Firefox和WebKit安装浏览器二进制文件。 安装命令: python -m playwright install 二、使用 安装后,您可以在Python脚本中导入 阅读全文
posted @ 2022-04-26 21:33 lwjnicole 阅读(4947) 评论(0) 推荐(0) 编辑