Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.
TypeScript automationchromechromiume2e-testingelectronend-to-end-testingfirefoxjavascriptplaywrighttesttest-automationtestingtesting-toolswebwebkit
fix: do not assume basic tools on linux when intalling channels (#7793)
Andrey Lushnikov3c4ef9f11d52
diff --git a/bin/reinstall_chrome_beta_linux.sh b/bin/reinstall_chrome_beta_linux.shindex afb9d87b56..0d7db06315 100755--- a/bin/reinstall_chrome_beta_linux.sh+++ b/bin/reinstall_chrome_beta_linux.sh@@ -14,6 +14,10 @@ if dpkg --get-selections | grep -q "^google-chrome-beta[[:space:]]*install$" >/d$maybesudo apt-get remove -y google-chrome-betafi+if ! command -v wget >/dev/null; then+ $maybesudo apt-get install -y wget+fi+# 2. download chrome beta from dl.google.com and install it.cd /tmpwget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.debdiff --git a/bin/reinstall_chrome_stable_linux.sh b/bin/reinstall_chrome_stable_linux.shindex c5078f6403..6789a062b1 100755--- a/bin/reinstall_chrome_stable_linux.sh+++ b/bin/reinstall_chrome_stable_linux.sh@@ -15,6 +15,9 @@ if dpkg --get-selections | grep -q "^google-chrome[[:space:]]*install$" >/dev/nu$maybesudo apt-get remove -y google-chromefi+if ! command -v wget >/dev/null; then+ $maybesudo apt-get install -y wget+fi# 2. download chrome stable from dl.google.com and install it.cd /tmpdiff --git a/bin/reinstall_msedge_beta_linux.sh b/bin/reinstall_msedge_beta_linux.shindex dab12e346f..a112158cfa 100755--- a/bin/reinstall_msedge_beta_linux.sh+++ b/bin/reinstall_msedge_beta_linux.sh@@ -14,6 +14,10 @@ if dpkg --get-selections | grep -q "^microsoft-edge-beta[[:space:]]*install$" >/$maybesudo apt-get remove -y microsoft-edge-betafi+if ! command -v curl >/dev/null; then+ $maybesudo apt-get install -y curl+fi+curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /tmp/microsoft.gpg$maybesudo install -o root -g root -m 644 /tmp/microsoft.gpg /etc/apt/trusted.gpg.d/$maybesudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'diff --git a/bin/reinstall_msedge_dev_linux.sh b/bin/reinstall_msedge_dev_linux.shindex d5d292e805..5cdbf9c41b 100755--- a/bin/reinstall_msedge_dev_linux.sh+++ b/bin/reinstall_msedge_dev_linux.sh@@ -14,6 +14,10 @@ if dpkg --get-selections | grep -q "^microsoft-edge-dev[[:space:]]*install$" >/d$maybesudo apt-get remove -y microsoft-edge-devfi+if ! command -v curl >/dev/null; then+ $maybesudo apt-get install -y curl+fi+curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > /tmp/microsoft.gpg$maybesudo install -o root -g root -m 644 /tmp/microsoft.gpg /etc/apt/trusted.gpg.d/$maybesudo sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/edge stable main" > /etc/apt/sources.list.d/microsoft-edge-dev.list'