Skip to content
This repository was archived by the owner on Jun 30, 2021. It is now read-only.

Commit 11b5cdb

Browse files
committed
Do not driver.close() and also driver.quit()
1 parent 73e2da6 commit 11b5cdb

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

test/python_test.py

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -224,17 +224,11 @@ def assert_overview_page():
224224
if args.browser != 'mobile_emulation':
225225
assert_overview_page()
226226

227-
print ("%s %s - (12/14) Test done - will driver.close()" % (datetime.datetime.utcnow(), longId))
228-
try:
229-
driver.close()
230-
except:
231-
pass
232-
time.sleep(msleep)
227+
# https://github.com/mozilla/geckodriver/issues/957
228+
# print ("%s %s - (12/14) Test done - will driver.close()" % (datetime.datetime.utcnow(), longId))
229+
# driver.close()
230+
# time.sleep(msleep)
233231

234232
print ("%s %s - (13/14) Test done - will driver.quit()" % (datetime.datetime.utcnow(), longId))
235-
try:
236-
driver.quit()
237-
except:
238-
pass
239-
233+
driver.quit()
240234
print ("%s %s - (14/14) All done. SUCCESS! - DONE driver.quit()" % (datetime.datetime.utcnow(), longId))

0 commit comments

Comments
 (0)