diff --git a/playwright/_impl/_element_handle.py b/playwright/_impl/_element_handle.py index 03e49eb04..6c585bb0d 100644 --- a/playwright/_impl/_element_handle.py +++ b/playwright/_impl/_element_handle.py @@ -297,7 +297,7 @@ async def screenshot( caret: Literal["hide", "initial"] = None, scale: Literal["css", "device"] = None, mask: Sequence["Locator"] = None, - mask_color: str = None, + maskColor: str = None, ) -> bytes: params = locals_to_params(locals()) if "path" in params: diff --git a/playwright/_impl/_locator.py b/playwright/_impl/_locator.py index d18d0d5de..4f4799183 100644 --- a/playwright/_impl/_locator.py +++ b/playwright/_impl/_locator.py @@ -522,7 +522,7 @@ async def screenshot( caret: Literal["hide", "initial"] = None, scale: Literal["css", "device"] = None, mask: Sequence["Locator"] = None, - mask_color: str = None, + maskColor: str = None, ) -> bytes: params = locals_to_params(locals()) return await self._with_element( diff --git a/playwright/_impl/_page.py b/playwright/_impl/_page.py index 2bfae2090..8d143172f 100644 --- a/playwright/_impl/_page.py +++ b/playwright/_impl/_page.py @@ -638,7 +638,7 @@ async def screenshot( caret: Literal["hide", "initial"] = None, scale: Literal["css", "device"] = None, mask: Sequence["Locator"] = None, - mask_color: str = None, + maskColor: str = None, ) -> bytes: params = locals_to_params(locals()) if "path" in params: diff --git a/playwright/async_api/_generated.py b/playwright/async_api/_generated.py index 3ab7a143f..2618d8e3f 100644 --- a/playwright/async_api/_generated.py +++ b/playwright/async_api/_generated.py @@ -2837,7 +2837,7 @@ async def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) @@ -9992,7 +9992,7 @@ async def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) @@ -17602,7 +17602,7 @@ async def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) diff --git a/playwright/sync_api/_generated.py b/playwright/sync_api/_generated.py index af78b6a72..cdb7c06a9 100644 --- a/playwright/sync_api/_generated.py +++ b/playwright/sync_api/_generated.py @@ -2872,7 +2872,7 @@ def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) ) @@ -10061,7 +10061,7 @@ def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) ) @@ -17719,7 +17719,7 @@ def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) )