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(chromium): disable back-forward cache (#14996)
Dmitry Gozmanbff90b5abbd8
diff --git a/packages/playwright-core/src/server/chromium/chromium.ts b/packages/playwright-core/src/server/chromium/chromium.tsindex ad2deee6eb..c51ec5ee09 100644--- a/packages/playwright-core/src/server/chromium/chromium.ts+++ b/packages/playwright-core/src/server/chromium/chromium.ts@@ -329,6 +329,7 @@ const DEFAULT_ARGS = ['--enable-features=NetworkService,NetworkServiceInProcess','--disable-background-timer-throttling','--disable-backgrounding-occluded-windows',+ '--disable-back-forward-cache', // Avoids surprises like main request not being intercepted during page.goBack().'--disable-breakpad','--disable-client-side-phishing-detection','--disable-component-extensions-with-background-pages',