Managing Website Credentials
Use login session functions to manage your website credentials.
If this is confusing, you’re probably missing context. Check out Managing Website Credentials in the Getting Started section for more information.
As stated in the Getting Started section, you can create a login session using the simplex login CLI.
After you log in, you can click the button on the page to capture the login session. This will download a JSON containing your session data.
If you’d instead like to use the SDK, you can use the create_login_session
method.
create_login_session
The URL of the website you want to create a login session for.
The browser will open to the login session page where you can enter your credentials.
Sample Usage
Restoring login sessions
Login sessions can be restored using the session_data
parameter in the constructor.
We show an example below. Let’s say you have a login session JSON for Zillow stored at sessions/zillow_login_session.json
.