We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8d8f4a commit 35b63a8Copy full SHA for 35b63a8
playwright/_impl/_browser_type.py
@@ -146,7 +146,7 @@ async def launch_persistent_context(
146
recordHarMode: HarMode = None,
147
recordHarContent: HarContentPolicy = None,
148
) -> BrowserContext:
149
- userDataDir = str(Path(userDataDir))
+ userDataDir = str(Path(userDataDir)) if userDataDir else ""
150
params = locals_to_params(locals())
151
await normalize_context_params(self._connection._is_sync, params)
152
normalize_launch_params(params)
0 commit comments