Skip to content

Commit 29e9f8f

Browse files
Hani YacoubHani Yacoub
authored andcommitted
Revert "changes on decode function"
This reverts commit be5cd8e.
1 parent be5cd8e commit 29e9f8f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/util.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -308,8 +308,7 @@ def decode_url(self, driver: Firefox):
308308
"""Decode to base64"""
309309
base64_data = driver.current_url.split(",")[1]
310310
decoded_data = base64.b64decode(base64_data).decode("utf-8")
311-
normalized_str = decoded_data.replace('\r\n', '\n')
312-
json_data = json.loads(normalized_str)
311+
json_data = json.loads(decoded_data)
313312
return json_data
314313

315314
def assert_json_value(self, json_data, jsonpath_expr, expected_value):

0 commit comments

Comments
 (0)