Skip to content

Commit 8fcf232

Browse files
fixed get error
1 parent 3b9617f commit 8fcf232

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

py/selenium/webdriver/common/bidi/browser.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def from_dict(cls, data: dict) -> "ClientWindowInfo":
157157
if not isinstance(y, int):
158158
raise ValueError(f"y must be an integer, got {type(y).__name__}")
159159

160-
active = data.get["active"]
160+
active = data["active"]
161161
if not isinstance(active, bool):
162162
raise ValueError("active must be a boolean")
163163

0 commit comments

Comments
 (0)