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

Commit

Permalink
timing issues on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed May 9, 2013
1 parent 6f06c68 commit 856bdfc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/z3c/webdriver/tests/ajax.txt
Expand Up @@ -58,12 +58,16 @@ Now let's test if we can send an ajax request started with JQuery:
Check a page that isn't there. Unfortunately the webdriver developers
don't want to provide us with the request status nor with the headers.

>>> time.sleep(0.1)

>>> browser.open(appURL + '404.html')
>>> print browser.html
<div>Not Found</div>

We can get some information from our log though:

>>> time.sleep(0.1)

>>> print logger.normalized
INFO 127.0.0.1:... - - [.../.../... ...:...:...] "GET /post.html HTTP/1.1" 200 1699
INFO 127.0.0.1:... - - [.../.../... ...:...:...] "GET /jquery-1.7.1.js HTTP/1.1" 200 248235
Expand Down

0 comments on commit 856bdfc

Please sign in to comment.