Username and Password
For sites that lack two factor-authentication, the best way to manage login is by entering a username and password using a combination of Simplex’s type, click, press_tab, and press_enter actions. This prevents needing to manage cookies or other login tokens that often expire after one-time use or need to be refreshed.Saving Session Data
We never store your login data on our servers. The data gets deleted as soon as you close your session.
Python

Two-Factor Authentication (2FA)
There are two ways to handle 2FA:- Store your 2FA cookies in a session JSON using capture_login_session, then load the session JSON using Simplex’s create_session function.

2FA 'save cookies' option in the browser.
- Disable 2FA for the site.
Restoring Login Sessions
Login sessions can be restored using thesession_data
parameter in the constructor.
We show an example below. Let’s say you have a login session JSON for Coupa.com stored at sessions/coupa_login_session.json
.
Sample Usage
Alternative ways to save session data
CLI tool
We provide a CLI tool to create login sessions. You can create a login session usingsimplex login [site]
after installing the Simplex Python SDK.
capture_login_session
method.