File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -307,6 +307,7 @@ def verify_autofill_cc_data_on_hover(
307
307
# If parsing fails, raise ValueError.
308
308
raise ValueError ("Given preview data is incomplete." )
309
309
container_data = container .get ("fillMessageData" , {}).get ("profile" , {})
310
+ assert container_data , "No preview data available."
310
311
assert all (field in container_data .keys () for field in self .fields ), (
311
312
"Not all fields present in preview data."
312
313
)
@@ -672,7 +673,6 @@ def verify_autofill_data_on_hover(
672
673
673
674
# get preview data from hovering through the chrome context
674
675
element = autofill_popup .get_element ("address-preview-form-container" )
675
- print (element .get_attribute ("innerHTML" ))
676
676
# get every span element that is a child of the form and is not empty
677
677
children = [
678
678
x .get_attribute ("innerHTML" )
You can’t perform that action at this time.
0 commit comments