P is for Practical | |
PerlMonks |
Selenium RC - How to reuse bowser session?by zerocred (Beadle) |
on Mar 21, 2010 at 15:56 UTC ( [id://829958]=perlquestion: print w/replies, xml ) | Need Help?? |
zerocred has asked for the wisdom of the Perl Monks concerning the following question:
Hallo All,
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:
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
Back to
Seekers of Perl Wisdom
|
|