Skip to content

Playwright is a framework for Web Testing and Automation. It allows testing Chromium, Firefox and WebKit with a single API.

test: unskip selenium driver test (#23129)

Max Schmittacdb71878e0b
diff --git a/packages/playwright-core/src/outofprocess.ts b/packages/playwright-core/src/outofprocess.ts
index 89c5d16da2..157dd8d0fa 100644
--- a/packages/playwright-core/src/outofprocess.ts
+++ b/packages/playwright-core/src/outofprocess.ts
@@ -43,7 +43,6 @@ class PlaywrightClient {
},
});
this._driverProcess.unref();
- this._driverProcess.on('exit', this._onExit.bind(this));
const connection = new Connection();
connection.markAsRemote();
@@ -56,14 +55,9 @@ class PlaywrightClient {
}
async stop() {
- this._driverProcess.removeListener('exit', this._onExit);
this._driverProcess.stdin!.destroy();
this._driverProcess.stdout!.destroy();
this._driverProcess.stderr!.destroy();
await this._closePromise;
}
-
- private _onExit(exitCode: number | null, signal: string | null) {
- throw new Error(`Server closed with exitCode=${exitCode} signal=${signal}`);
- }
}
diff --git a/tests/library/browsertype-launch-selenium.spec.ts b/tests/library/browsertype-launch-selenium.spec.ts
index 0534380a66..d46ca0c5f8 100644
--- a/tests/library/browsertype-launch-selenium.spec.ts
+++ b/tests/library/browsertype-launch-selenium.spec.ts
@@ -180,7 +180,6 @@ test('selenium grid 3.141.59 standalone non-chromium', async ({ browserName, bro
test('selenium grid 3.141.59 standalone chromium through run-driver', async ({ browserName, childProcess, waitForPort }, testInfo) => {
test.skip(browserName !== 'chromium');
- test.fixme(true, 'https://github.com/microsoft/playwright/issues/23110');
const port = testInfo.workerIndex + 15123;
const grid = childProcess({