views:

24

answers:

0

When I put my Mac to sleep while an interactive Python session with a selenium instance and corresponding browser is running, after waking up the browser (or selenium server?) are no longer responding to any commands from the Python shell.

This forces me to restart the browser, losing the state of my test.

Is there a way to overcome this?