fantoccini icon indicating copy to clipboard operation
fantoccini copied to clipboard

Support reconnecting to an existing session

Open travisbrown opened this issue 5 years ago • 2 comments

This is a sketch of a minimal fix for #57 that just copies what with_capabilities is doing but without issuing the NewSession command.

I've confirmed that this implementation does what I need right now (allows me to have a CLI that doesn't have to log in to a site on every invocation, for example), but it should probably also do things like try to read the value of is_legacy off the WebDriver status for the session. It also needs tests, etc.

travisbrown avatar Aug 06 '20 08:08 travisbrown

Nice! I wonder if we could easily share some of this code between new and with_session. In theory I believe that should be doable.

jonhoo avatar Aug 06 '20 13:08 jonhoo

Is this still being worked on?

JosiahBull avatar Jan 04 '23 12:01 JosiahBull