chore: follow-up to animations default option (#12669)
This is a follow-up to 42765804bc
that was landed without bots.
I ran the bots manually on Linux & Mac.
This commit is contained in:
parent
689d8196e0
commit
65b9cba143
|
|
@ -36,7 +36,7 @@ export type ScreenshotOptions = {
|
||||||
type?: 'png' | 'jpeg',
|
type?: 'png' | 'jpeg',
|
||||||
quality?: number,
|
quality?: number,
|
||||||
omitBackground?: boolean,
|
omitBackground?: boolean,
|
||||||
animations?: 'disabled',
|
animations?: 'disabled' | 'allow',
|
||||||
mask?: { frame: Frame, selector: string}[],
|
mask?: { frame: Frame, selector: string}[],
|
||||||
fullPage?: boolean,
|
fullPage?: boolean,
|
||||||
clip?: Rect,
|
clip?: Rect,
|
||||||
|
|
|
||||||
6
packages/playwright-core/types/types.d.ts
vendored
6
packages/playwright-core/types/types.d.ts
vendored
|
|
@ -8070,7 +8070,7 @@ export interface ElementHandle<T=Node> extends JSHandle<T> {
|
||||||
* - finite animations are fast-forwarded to completion, so they'll fire `transitionend` event.
|
* - finite animations are fast-forwarded to completion, so they'll fire `transitionend` event.
|
||||||
* - infinite animations are canceled to initial state, and then played over after the screenshot.
|
* - infinite animations are canceled to initial state, and then played over after the screenshot.
|
||||||
*
|
*
|
||||||
* Defaults to `"allow"`.
|
* Defaults to `"allow"` that leaves animations untouched.
|
||||||
*/
|
*/
|
||||||
animations?: "disabled"|"allow";
|
animations?: "disabled"|"allow";
|
||||||
|
|
||||||
|
|
@ -15600,7 +15600,7 @@ export interface LocatorScreenshotOptions {
|
||||||
* - finite animations are fast-forwarded to completion, so they'll fire `transitionend` event.
|
* - finite animations are fast-forwarded to completion, so they'll fire `transitionend` event.
|
||||||
* - infinite animations are canceled to initial state, and then played over after the screenshot.
|
* - infinite animations are canceled to initial state, and then played over after the screenshot.
|
||||||
*
|
*
|
||||||
* Defaults to `"allow"`.
|
* Defaults to `"allow"` that leaves animations untouched.
|
||||||
*/
|
*/
|
||||||
animations?: "disabled"|"allow";
|
animations?: "disabled"|"allow";
|
||||||
|
|
||||||
|
|
@ -15753,7 +15753,7 @@ export interface PageScreenshotOptions {
|
||||||
* - finite animations are fast-forwarded to completion, so they'll fire `transitionend` event.
|
* - finite animations are fast-forwarded to completion, so they'll fire `transitionend` event.
|
||||||
* - infinite animations are canceled to initial state, and then played over after the screenshot.
|
* - infinite animations are canceled to initial state, and then played over after the screenshot.
|
||||||
*
|
*
|
||||||
* Defaults to `"allow"`.
|
* Defaults to `"allow"` that leaves animations untouched.
|
||||||
*/
|
*/
|
||||||
animations?: "disabled"|"allow";
|
animations?: "disabled"|"allow";
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue