Skip to content

Commit 587355e

Browse files
committed
snake_case fix
1 parent e4a4a3c commit 587355e

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

playwright/_impl/_browser.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@ def __init__(
6565
self, parent: "BrowserType", type: str, guid: str, initializer: Dict
6666
) -> None:
6767
super().__init__(parent, type, guid, initializer)
68-
self._browser_type = parent
6968
self._is_connected = True
7069
self._should_close_connection_on_close = False
7170
self._cr_tracing_path: Optional[str] = None
@@ -86,13 +85,13 @@ def __repr__(self) -> str:
8685

8786
def _connect_to_browser_type(
8887
self,
89-
browserType: "BrowserType",
90-
tracesDir: Optional[str] = None,
88+
browser_type: "BrowserType",
89+
traces_dir: Optional[str] = None,
9190
) -> None:
9291
# Note: when using connect(), `browserType` is different from `this.parent`.
9392
# This is why browser type is not wired up in the constructor, and instead this separate method is called later on.
94-
self._browser_type = browserType
95-
self._traces_dir = tracesDir
93+
self._browser_type = browser_type
94+
self._traces_dir = traces_dir
9695
for context in self._contexts:
9796
self._setup_browser_context(context)
9897

0 commit comments

Comments
 (0)