diff --git a/packages/playwright-core/src/client/api.ts b/packages/playwright-core/src/client/api.ts deleted file mode 100644 index 6eab70e159..0000000000 --- a/packages/playwright-core/src/client/api.ts +++ /dev/null @@ -1,46 +0,0 @@ -/** - * Copyright (c) Microsoft Corporation. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -export { Accessibility } from './accessibility'; -export { Android, AndroidDevice, AndroidWebView, AndroidInput, AndroidSocket } from './android'; -export { Browser } from './browser'; -export { BrowserContext } from './browserContext'; -export type { BrowserServer } from './browserType'; -export { BrowserType } from './browserType'; -export { Clock } from './clock'; -export { ConsoleMessage } from './consoleMessage'; -export { Coverage } from './coverage'; -export { Dialog } from './dialog'; -export { Download } from './download'; -export { Electron, ElectronApplication } from './electron'; -export { Locator, FrameLocator } from './locator'; -export { ElementHandle } from './elementHandle'; -export { FileChooser } from './fileChooser'; -export type { Logger } from './types'; -export { TimeoutError } from './errors'; -export { Frame } from './frame'; -export { Keyboard, Mouse, Touchscreen } from './input'; -export { JSHandle } from './jsHandle'; -export { Request, Response, Route, WebSocket } from './network'; -export { APIRequest, APIRequestContext, APIResponse } from './fetch'; -export { Page } from './page'; -export { Selectors } from './selectors'; -export { Tracing } from './tracing'; -export { Video } from './video'; -export { Worker } from './worker'; -export { CDPSession } from './cdpSession'; -export { Playwright } from './playwright'; -export { WebError } from './webError'; diff --git a/packages/playwright-core/src/client/harRouter.ts b/packages/playwright-core/src/client/harRouter.ts index 5e617d7ce9..ab25f6167a 100644 --- a/packages/playwright-core/src/client/harRouter.ts +++ b/packages/playwright-core/src/client/harRouter.ts @@ -98,7 +98,7 @@ export class HarRouter { } async [Symbol.asyncDispose]() { - await this.dispose(); + this.dispose(); } dispose() { diff --git a/tests/library/client-certificates.spec.ts b/tests/library/client-certificates.spec.ts index 75ca2468f7..682df0b00f 100644 --- a/tests/library/client-certificates.spec.ts +++ b/tests/library/client-certificates.spec.ts @@ -76,15 +76,6 @@ const test = base.extend({ }, }); -test.use({ - launchOptions: async ({ launchOptions }, use) => { - await use({ - ...launchOptions, - proxy: { server: 'per-context' } - }); - } -}); - const kDummyFileName = __filename; const kValidationSubTests: [BrowserContextOptions, string][] = [ [{ clientCertificates: [{ origin: 'test' }] }, 'None of cert, key, passphrase or pfx is specified'],