File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
packages/playwright-core/src/server/webkit Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ import { WKInterceptableRequest, WKRouteImpl } from './wkInterceptableRequest';
3434import { WKProvisionalPage } from './wkProvisionalPage' ;
3535import { WKWorkers } from './wkWorkers' ;
3636import { translatePathToWSL } from './webkit' ;
37+ import { registry } from '../registry' ;
3738
3839import type { Protocol } from './protocol' ;
3940import type { WKBrowserContext } from './wkBrowser' ;
@@ -46,7 +47,7 @@ import type * as types from '../types';
4647
4748const UTILITY_WORLD_NAME = '__playwright_utility_world__' ;
4849
49- const enableFrameSessions = ! process . env . WK_DISABLE_FRAME_SESSIONS ;
50+ const enableFrameSessions = ! process . env . WK_DISABLE_FRAME_SESSIONS && parseInt ( registry . findExecutable ( 'webkit' ) . revision ! , 10 ) >= 2245 ;
5051
5152export class WKPage implements PageDelegate {
5253 readonly rawMouse : RawMouseImpl ;
You can’t perform that action at this time.
0 commit comments