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(android): to not call Browser.setDownloadBehavior (#6913)
Max Schmittff3ad7a3d11d
diff --git a/src/server/chromium/crBrowser.ts b/src/server/chromium/crBrowser.tsindex 4566c1c369..c28ddb824b 100644--- a/src/server/chromium/crBrowser.ts+++ b/src/server/chromium/crBrowser.ts@@ -311,7 +311,7 @@ export class CRBrowserContext extends BrowserContext {async _initialize() {assert(!Array.from(this._browser._crPages.values()).some(page => page._browserContext === this));const promises: Promise<any>[] = [ super._initialize() ];- if (this._browser.options.name !== 'electron') {+ if (this._browser.options.name !== 'electron' && this._browser.options.name !== 'clank') {promises.push(this._browser._session.send('Browser.setDownloadBehavior', {behavior: this._options.acceptDownloads ? 'allowAndName' : 'deny',browserContextId: this._browserContextId,