mirror of
https://github.com/microsoft/playwright.git
synced 2025-06-26 21:40:17 +00:00
fix(chromium): disable back-forward cache (#14996)
Otherwise, back/forward navigation does not intercept requests.
This commit is contained in:
parent
883e4d449a
commit
bff90b5abb
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user