Skip to content

Commit 638008b

Browse files
committed
made suggested changes
1 parent 196ec5a commit 638008b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

py/selenium/webdriver/common/bidi/browsing_context.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,19 +196,19 @@ def from_json(cls, json: dict) -> "UserPromptOpenedParams":
196196
context = json.get("context")
197197
if context is None or not isinstance(context, str):
198198
raise ValueError("context is required and must be a string")
199-
199+
200200
handler = json.get("handler")
201201
if handler is None or not isinstance(handler, str):
202202
raise ValueError("handler is required and must be a string")
203-
203+
204204
message = json.get("message")
205205
if message is None or not isinstance(message, str):
206206
raise ValueError("message is required and must be a string")
207-
207+
208208
type_value = json.get("type")
209209
if type_value is None or not isinstance(type_value, str):
210210
raise ValueError("type is required and must be a string")
211-
211+
212212
default_value = json.get("defaultValue")
213213
if default_value is not None and not isinstance(default_value, str):
214214
raise ValueError("defaultValue must be a string if provided")

0 commit comments

Comments
 (0)