Cookie Store
Cookie Store is a package designed to securely manage your digital cookies. It stores these cookies in an encrypted file on your local system, ensuring enhanced security and privacy for your web automation activities.
Overview
The Cookie Store package provides secure cookie management capabilities for web automation workflows. It uses AES (Advanced Encryption Standard) encryption to protect sensitive session data, making it ideal for scenarios where you need to:
- Preserve browser sessions between automation runs
- Share authenticated sessions across different robots
- Securely store login cookies for repeated use
- Backup and restore browser authentication states
Key Features
- Secure Encryption: Uses AES-256 encryption with CBC mode to protect cookie data
- Session Persistence: Save and restore complete browser sessions
- Cross-Platform: Works on Windows, Linux, and macOS
- Easy Integration: Seamlessly integrates with the Browser package for session management
Use Cases
- Authenticated Workflows: Save login cookies to avoid repeated authentication
- Session Sharing: Transfer sessions between different automation flows
- Testing: Preserve test user sessions for consistent testing
- Data Collection: Maintain authenticated sessions for web scraping tasks
- Multi-Account Management: Securely store and switch between multiple account sessions
Security Considerations
The Cookie Store package uses strong encryption to protect sensitive session data. However, you should:
- Store AES keys securely using Robomotion's Vault feature
- Use unique encryption keys for different projects
- Regularly rotate encryption keys for sensitive applications
- Keep encrypted cookie files in secure locations
- Never commit AES keys or encrypted cookie files to version control
📄️ Load Cookies
Robomotion.CookieStore.LoadCookies
📄️ Save Cookies
Robomotion.CookieStore.SaveCookies