mirror of
https://github.com/microsoft/playwright.git
synced 2024-11-28 09:23:42 +03:00
fix: add snapshots for page and elementHandle screenshots (#12411)
Fixes #12280
This commit is contained in:
parent
47045ba48d
commit
8d94ed134c
@ -4034,6 +4034,7 @@ export const commandsWithTracingSnapshots = new Set([
|
||||
'Page.goBack',
|
||||
'Page.goForward',
|
||||
'Page.reload',
|
||||
'Page.screenshot',
|
||||
'Page.setViewportSize',
|
||||
'Page.keyboardDown',
|
||||
'Page.keyboardUp',
|
||||
@ -4105,6 +4106,7 @@ export const commandsWithTracingSnapshots = new Set([
|
||||
'ElementHandle.isHidden',
|
||||
'ElementHandle.isVisible',
|
||||
'ElementHandle.press',
|
||||
'ElementHandle.screenshot',
|
||||
'ElementHandle.scrollIntoViewIfNeeded',
|
||||
'ElementHandle.selectOption',
|
||||
'ElementHandle.selectText',
|
||||
|
@ -1012,6 +1012,8 @@ Page:
|
||||
selector: string
|
||||
returns:
|
||||
binary: binary
|
||||
tracing:
|
||||
snapshot: true
|
||||
|
||||
setExtraHTTPHeaders:
|
||||
parameters:
|
||||
@ -2171,6 +2173,8 @@ ElementHandle:
|
||||
selector: string
|
||||
returns:
|
||||
binary: binary
|
||||
tracing:
|
||||
snapshot: true
|
||||
|
||||
scrollIntoViewIfNeeded:
|
||||
parameters:
|
||||
|
Loading…
Reference in New Issue
Block a user