|
|
|
[
Permlink
| « Hide
]
Jennifer Bevan - 06/Dec/07 10:26 AM
Hey -- I'll be taking a look at this soon. Just to clarify, you don't want the sessions to just be dereferenced for the garbage collector, but instead to be kept and reused like a ThreadPool?
Not just the session objects, but the browser sessions themselves. If reuseBrowserSession is enabled, the browser should never close until the server shuts down.
I have a working patch for this -- care to review it? I extracted the session handling code out of SeleniumDriverResourceHandler and into "BrowserSessionFactory".
I don't think that any of the functional test suite (which no longer runs by default between rev 2102 and 2116?) had any reuseBrowserSessions, but the unit tests work and I'm looking into adding more functional tests. Attaching the patch to the issue... -Jen This patch handles AFAIK all of the issues for
There is an outstanding issue around line 818 of FrameGroupCommandQueueSet about what URL to open when resetting (and reusing) a non-PI mode browser. This (last I checked) worked for non-PI *chrome but not for non-PI *iexplore. There is also an outstanding issue on the number/type of tests. I (or Dan?) need to add some higher-level tests. The unit tests are okay. |
|||||||||||||||||||||||||||||||||||||||||||||||||||||