Skip to content
Snippets Groups Projects
Commit a9e801bf authored by Recolic Keghart's avatar Recolic Keghart
Browse files

adjust result printing

parent 5e5ecd4b
No related branches found
No related tags found
No related merge requests found
......@@ -49,8 +49,11 @@ driver.find_element_by_class_name('default').click()
while 'If you have anything to comment,please click here, or you can add reviews in the form.' == driver.find_element_by_class_name('dialog_content').text:
time.sleep(0.2)
result = driver.find_element_by_class_name('dialog_content').text
print(result)
if result == 'Done successfully!':
driver.close()
else:
exit(3)
print(result)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment