Skip to content

Commit 22b60c3

Browse files
committed
chore: page.close -> Close page in steps
Signed-off-by: Max Schmitt <max@schmitt.mx>
1 parent 93d2b4b commit 22b60c3

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/playwright-core/src/utils/isomorphic/protocolMetainfo.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ export const methodMetainfo = new Map<string, { internal?: boolean, title?: stri
9898
['BrowserContext.clockSetFixedTime', { title: 'Set fixed time "{timeNumber}{timeString}"', }],
9999
['BrowserContext.clockSetSystemTime', { title: 'Set system time "{timeNumber}{timeString}"', }],
100100
['Page.addInitScript', { }],
101-
['Page.close', { title: 'Close', }],
101+
['Page.close', { title: 'Close page', }],
102102
['Page.emulateMedia', { title: 'Emulate media', snapshot: true, }],
103103
['Page.exposeBinding', { title: 'Expose binding', }],
104104
['Page.goBack', { title: 'Go back', slowMo: true, snapshot: true, }],

packages/protocol/src/protocol.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1554,7 +1554,7 @@ Page:
15541554
source: string
15551555

15561556
close:
1557-
title: Close
1557+
title: Close page
15581558
parameters:
15591559
runBeforeUnload: boolean?
15601560
reason: string?

0 commit comments

Comments
 (0)