I'm using Selenium RC to automate website interaction. It would simplify and speed tasks if I can reuse an existing or previously set up browser session.
I already have set -browserSessionReuse option in the server and the auto_stop="0" so it leaves the browser running. When I set up a new connection I get this:
23:19:04.828 INFO - Command request: getNewBrowserSession[*iexplore, h +ttp://www.example.com/] on session null 23:19:04.828 INFO - grabbing available session... 23:19:04.828 INFO - creating new remote session 23:19:04.828 INFO - Allocated session eb2150d86aac4aa8812287aab1dae0df + for http://www.example.com/, launching... 23:19:04.921 INFO - Launching Embedded Internet Explorer... 23:19:05.921 INFO - Launching Internet Explorer HTA...
It seems to grab the available session but the 'Test::WWW::Selenium->new()'probably overwrites it - any alternative?, What am I doing wrong.
I see there is a session_id option mentioned in earlier documentation (but not current cpan documentation) - but not how to get it or use it...
I've seen mention of reusing the session in Java - but it seems to use a command not available in Perl - is that the case?
Cheers!
David
In reply to Selenium RC - How to reuse bowser session? by zerocred
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |