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

Commit

Permalink
more notes
Browse files Browse the repository at this point in the history
  • Loading branch information
agroszer committed May 9, 2013
1 parent accf2de commit 21b1fef
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.txt
Expand Up @@ -11,10 +11,17 @@ We specially care about ``selenium.webdriver.PhantomJS``, because:

Things to watch out for:

- any single instance of PhantomJS acts as a single browser instance
that means cookies and whatnot are *shared* if you intantiate more
browsers for a single driver.
Workaround could be to start more drivers.
- the headless browser is truly ``async``, that means an AJAX click does NOT
wait for the AJAX request to complete, you explicitely need to wait for it
- any single call to PhantomJS via selenium takes TIME
- zope.testbrowser supporting methods like ``getControl`` are slow now
- there are 2 options for setUp/tearDown, either the driver is started and torn
down with the layer or with each test. Starting and stopping takes around
1.5-2 secs, so you decide whether you need separation or speed.

WARNING
========
Expand Down

0 comments on commit 21b1fef

Please sign in to comment.