in reply to Re^3: Selenium RC - How to reuse bowser session?
in thread Selenium RC - How to reuse bowser session?
And can probably regex it out (I'm cut& pasting right now) - and store it somewhere if I leave the server running and relaunch my automation. Otherwise make a new session and then save teh session_id with that command or yours.
Selenium complains if I give it a 'magic string' that is not a real existing session_id, but if I give it the id of a real, existing session that is up it seems happy to use it. That seems to mean it can't be started up with arbitary session_id the server has to generate one - but if that can be captured it can be reused
However, selenium seems to require me to open a URL
$sel->open_ok("$url");before it will allow clicking on anything. However this makes my site think I'm navigating away and makes a popup forcing me to choose to log out or abanodon the new attempts at hijacking the session! Needless to say, I didn't write the site I'm just trying to get it to do something quicker than I can type.
Still this is progress!! - Thanks so much
(off to bed now - I'll type up a full solution when I get it working)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Selenium RC - How to reuse bowser session?
by zerocred (Beadle) on Mar 22, 2010 at 18:41 UTC |