History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: SRC-341
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Dan Fabulich
Reporter: Christopher Vogt
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Selenium Remote Control

make -browserSessionReuse independent of -proxyInjectionMode

Created: 06/Sep/07 07:27 AM   Updated: 05/Mar/08 01:49 AM
Component/s: None
Affects Version/s: 0.9.0
Fix Version/s: 1.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: selenium RC on Redhat enterprise


 Description  « Hide
Hej,

somebody wrote in the forum almost a year ago: http://forums.openqa.org/thread.jspa?messageID=27365&#27365 . This is still unfixed and uncommented. I have the same problem.

I just started running unittests again javascript using selenium RC calling my_selenium_instance.open( tested_url ) in my setUp method. I just split up my one test method containing some tests into two methods. Now the browser is launched twice, which consumes a lot of time and is not necessary.

I tried passing the -browserSessionReuse option to selenium-server but (after figuring out that there was an error message above the displayed usage page) I saw "-reusingBrowserSessions only valid in combination with -proxyInjectionMode".

First minor thing:
- The error message falsely speaks of -reusingBrowserSessions (as the related variable is called in the java source code) while the command line option is called -browserSessionReuse. Unifying the option and the java variable name would probably be good.

Second more important thing:
- Resuing an existing browser session should not depend on proxy injection. In my case it would make perfect sense to just reuse the browser session.

Kind regards
Christopher

 All   Comments   Work Log   Change History      Sort Order:
Dan Fabulich - 05/Mar/08 01:49 AM
Fixed in revision 2200