initial commit
This commit is contained in:
29
sessions/README.md
Normal file
29
sessions/README.md
Normal file
@ -0,0 +1,29 @@
|
||||
# Selenium Sessions Directory
|
||||
|
||||
This directory is used to store Selenium WebDriver session data, including:
|
||||
|
||||
- Browser cookies
|
||||
- Local storage
|
||||
- Session storage
|
||||
- Browser profiles
|
||||
|
||||
This allows the Selenium WebDriver to maintain state between runs, which can be useful for:
|
||||
|
||||
- Preserving login sessions
|
||||
- Testing features that require persistent state
|
||||
- Reducing the need to re-authenticate
|
||||
- Improving test performance by reusing browser profiles
|
||||
|
||||
## Usage
|
||||
|
||||
The session data is automatically saved to this directory when the Selenium WebDriver is configured to use it. The data is organized by session ID and can be reused in subsequent runs.
|
||||
|
||||
## Maintenance
|
||||
|
||||
It's recommended to periodically clean this directory to remove old or unused session data. You can do this by running:
|
||||
|
||||
```bash
|
||||
rm -rf sessions/*
|
||||
```
|
||||
|
||||
Or by selectively removing specific session files that are no longer needed.
|
||||
Reference in New Issue
Block a user