15 lines
503 B
Cheetah
15 lines
503 B
Cheetah
{
|
|
"chromeLaunchConfig": {
|
|
"args": ["--disable-dev-shm-usage", "--no-sandbox", "--disable-gpu"],
|
|
"ignoreHTTPSErrors": true
|
|
},
|
|
"headers": {
|
|
{{if not (empty .PA11Y_USERNAME)}}
|
|
{{ $credentials := print .PA11Y_USERNAME ":" .PA11Y_PASSWORD }}
|
|
"Authorization": "Basic {{b64enc $credentials}}" {{if not (empty .PA11Y_COOKIE)}},{{end}}
|
|
{{end}}
|
|
{{if not (empty .PA11Y_COOKIE)}}
|
|
"Cookie": "{{print .PA11Y_COOKIE}}"
|
|
{{end}}
|
|
}
|
|
} |