创建项目并上传到GitLab
npm init playwright@latest test-playwright
# 一路enter
cd test-playwright
# 运行测试用例
npx playwright test
常用指令
# Runs the end-to-end tests.
npx playwright test
# Starts the interactive UI mode.
npx playwright
微信扫一扫
npm init playwright@latest test-playwright
# 一路enter
cd test-playwright
# 运行测试用例
npx playwright test
# Runs the end-to-end tests.
npx playwright test
# Starts the interactive UI mode.
npx playwright
相关推荐