Skip to navigation

loadCookie

Referenced In

Fields

FieldTypeDescriptionDefault
loadCookieone of:
- string
- object(Load cookie (detailed))
Required. Load a specific cookie from a file or environment variable into the browser.—

Examples

{
"loadCookie": "session_token"
}
{
"loadCookie": "./test-data/auth-session.txt"
}
{
"loadCookie": "test_env_cookie"
}
{
"loadCookie": {
"name": "auth_cookie",
"variable": "AUTH_COOKIE"
}
}
{
"loadCookie": {
"name": "test_cookie",
"path": "test-cookie.txt"
}
}
{
"loadCookie": {
"name": "session_token",
"path": "session-token.txt",
"directory": "./test-data"
}
}
{
"loadCookie": {
"name": "user_session",
"path": "saved-cookies.txt",
"domain": "app.example.com"
}
}