Sandbox.connect()
method and then start controlling it with our SDK.
This is useful if you want to, for example, reuse the same sandbox instance for the same user after a short period of inactivity.
1. Get the sandbox ID
To connect to a running sandbox, you first need to retrieve its ID. You can do this by calling theSandbox.list()
method.
2. Connect to the sandbox
Now that you have the sandbox ID, you can connect to the sandbox using theSandbox.connect()
method.