Save a session
  • 23 Jul 2021
  • 1 Minute to read
  • Contributors
  • Dark
    Light
  • PDF

Save a session

  • Dark
    Light
  • PDF

Article Summary

A session is defined as the workflow from beginning to end in a robot. This includes all actions, page loads, cookies, etc.

Session save enables you to save a session’s details and then load the session details in a new robot to pick up where you left off. You can save the following details from a session:

  • Cookies
  • Localstorage
  • Sessionstorage
  • window.name (API)
  • Proxy
Saving multiple sessions

If you save multiple sessions, when you load a session into a robot the robot will choose the session that hasn't been loaded for the longest time - meaning it will rotate between all sessions.

Cookies

When you visit a website, your browser saves information called a cookie. When you save a session-and it's cookies-then load the session in a new robot, your browser sends the information stored in the cookie to the website. This allows the website to “remember” you in order to provide a better experience. Cookies can be used to save your:

  • Session
  • Preferences
  • Progress in filling out forms
  • Other information
Stale cookies

Every cookie has an expiration date, but it varies based on the website. Once the cookie expires you'll have to create a new cookie for your robot. You'll need to refresh it in the Robot Builder before running the robot again.

When to use session store?

Session Store allows robots to save and interact with identifiers when you need to:

  • Log in to websites that use two-factor authentication
  • Log in to websites that use CAPTCHA validation
  • Restore personalized data such as shopping carts and order histories
Saving multiple sessions

If you save multiple sessions, when you load a session into a robot the robot will choose the session that hasn't been loaded for the longest time - meaning it will rotate between all sessions.


Was this article helpful?

What's Next