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
revert(#12877): chore: print error if install-deps is used != ubuntu (#13536)
Andrey Lushnikov269716d7d7ba
diff --git a/packages/playwright-core/src/server/registry/dependencies.ts b/packages/playwright-core/src/server/registry/dependencies.tsindex 8c55e5da53..1891b870ac 100644--- a/packages/playwright-core/src/server/registry/dependencies.ts+++ b/packages/playwright-core/src/server/registry/dependencies.ts@@ -23,7 +23,6 @@ import { spawnAsync } from '../../utils/spawnAsync';import { hostPlatform } from '../../utils/hostPlatform';import { buildPlaywrightCLICommand } from '.';import { deps } from './nativeDeps';-import { getUbuntuVersion } from '../../utils/ubuntuVersion';import { getPlaywrightVersion } from '../../common/userAgent';const BIN_DIRECTORY = path.join(__dirname, '..', '..', '..', 'bin');@@ -75,8 +74,6 @@ export async function installDependenciesWindows(targets: Set<DependencyGroup>,}export async function installDependenciesLinux(targets: Set<DependencyGroup>, dryRun: boolean) {- if (await getUbuntuVersion() === '')- throw new Error(`Unsupported Linux distribution, only Ubuntu is supported!`);const libraries: string[] = [];for (const target of targets) {const info = deps[hostPlatform];