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 be5cd8e commit 29e9f8fCopy full SHA for 29e9f8f
modules/util.py
@@ -308,8 +308,7 @@ def decode_url(self, driver: Firefox):
308
"""Decode to base64"""
309
base64_data = driver.current_url.split(",")[1]
310
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)
+ json_data = json.loads(decoded_data)
313
return json_data
314
315
def assert_json_value(self, json_data, jsonpath_expr, expected_value):
0 commit comments