Skip to content

Commit 590fa91

Browse files
authored
chore: remove sdkLanguage in newContext/connectOverCDP (microsoft#1051)
1 parent ed4dcfb commit 590fa91

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

playwright/_impl/_browser.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,6 @@ async def stop_tracing(self) -> bytes:
198198

199199

200200
async def normalize_context_params(is_sync: bool, params: Dict) -> None:
201-
params["sdkLanguage"] = "python" if is_sync else "python-async"
202201
if params.get("noViewport"):
203202
del params["noViewport"]
204203
params["noDefaultViewport"] = True

playwright/_impl/_browser_type.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,6 @@ async def connect_over_cdp(
152152
headers: Dict[str, str] = None,
153153
) -> Browser:
154154
params = locals_to_params(locals())
155-
params["sdkLanguage"] = (
156-
"python" if self._connection._is_sync else "python-async"
157-
)
158155
response = await self._channel.send_return_as_dict("connectOverCDP", params)
159156
browser = cast(Browser, from_channel(response["browser"]))
160157

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy