Created
February 20, 2023 21:27
-
-
Save Hillsie/208e53023962de53baa85f2e087fb171 to your computer and use it in GitHub Desktop.
Silent / Unattended installation script - Playwright
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/expect | |
set timeout -1 | |
spawn npm init -y playwright@latest | |
expect "TypeScript" { send "\r" } | |
expect "tests" { send "\r" } | |
expect "Add a GitHub Actions workflow" { send "n\r" } | |
expect "Install Playwright browsers" { send "y\r" } | |
expect "Install Playwright operating system dependencies" { send "y\r" } | |
expect eof |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment