Hej,
somebody wrote in the forum almost a year ago:
http://forums.openqa.org/thread.jspa?messageID=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