Skip to content
This repository has been archived by the owner on Feb 13, 2020. It is now read-only.

Commit

Permalink
clean some browser state
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed May 9, 2013
1 parent 21b1fef commit 6f06c68
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/z3c/webdriver/testing.py
Expand Up @@ -230,7 +230,10 @@ def setUpDoctest(test):
test.globs['wsgi'] = WSGISERVER

if WEBDRIVER is not None:
test.globs['driver'] = WEBDRIVER
driver = test.globs['driver'] = WEBDRIVER
# trying to clean up our mess -- PhantomJS keeps state
# XXX: what else could we clean?
driver.delete_all_cookies()


#def setUpDoctest(test):
Expand Down

0 comments on commit 6f06c68

Please sign in to comment.