File tree 1 file changed +13
-3
lines changed
1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -71,6 +71,16 @@ assert "Google AdWords" in driver.title
71
71
print ("%s %s - Close driver and clean up" % (datetime .datetime .utcnow (), longId ))
72
72
driver .close ()
73
73
74
- print ("%s %s - All done. SUCCESS! - will driver.quit()" % (datetime .datetime .utcnow (), longId ))
75
- driver .quit ()
76
- print ("%s %s - All done. SUCCESS! - DONE driver.quit()" % (datetime .datetime .utcnow (), longId ))
74
+ print ("%s %s - (98%%) Test done - will driver.close()" % (datetime .datetime .utcnow (), longId ))
75
+ try :
76
+ driver .close ()
77
+ except :
78
+ pass
79
+
80
+ print ("%s %s - (99%%) Test done - will driver.quit()" % (datetime .datetime .utcnow (), longId ))
81
+ try :
82
+ driver .quit ()
83
+ except :
84
+ pass
85
+
86
+ print ("%s %s - (100%%) All done. SUCCESS! - DONE driver.quit()" % (datetime .datetime .utcnow (), longId ))
You can’t perform that action at this time.
0 commit comments