diff --git a/playwright/_impl/_browser_type.py b/playwright/_impl/_browser_type.py index 28a0e7cb4..65e3982c7 100644 --- a/playwright/_impl/_browser_type.py +++ b/playwright/_impl/_browser_type.py @@ -163,7 +163,7 @@ async def connect_over_cdp( self, endpointURL: str, timeout: float = None, - slow_mo: float = None, + slowMo: float = None, headers: Dict[str, str] = None, ) -> Browser: params = locals_to_params(locals()) 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..4dcd4da23 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, ) ) @@ -15100,7 +15100,7 @@ async def connect_over_cdp( await self._impl_obj.connect_over_cdp( endpointURL=endpoint_url, timeout=timeout, - slow_mo=slow_mo, + slowMo=slow_mo, headers=mapping.to_impl(headers), ) ) @@ -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..e4383917b 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, ) ) ) @@ -15171,7 +15171,7 @@ def connect_over_cdp( self._impl_obj.connect_over_cdp( endpointURL=endpoint_url, timeout=timeout, - slow_mo=slow_mo, + slowMo=slow_mo, headers=mapping.to_impl(headers), ) ) @@ -17719,7 +17719,7 @@ def screenshot( caret=caret, scale=scale, mask=mapping.to_impl(mask), - mask_color=mask_color, + maskColor=mask_color, ) ) )