Skip to content

Commit 61115c1

Browse files
committed
fix(lab): add ignore-certificate-errors flag for testing with self-signed certs
1 parent d3046a7 commit 61115c1

2 files changed

Lines changed: 41 additions & 2 deletions

File tree

.claudeignore

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,42 @@ results/
33
package-lock.json
44
web-perf-cli-*.json
55
.pagespeed-apikey
6-
urls.txt
6+
urls.txt
7+
# Compiled output
8+
/dist
9+
/tmp
10+
/out-tsc
11+
/bazel-out
12+
/coverage
13+
14+
# Node
15+
/node_modules
16+
npm-debug.log
17+
yarn-error.log
18+
19+
# IDEs and editors
20+
.settings/
21+
22+
# Visual Studio Code
23+
.vscode/*
24+
!.vscode/settings.json
25+
!.vscode/tasks.json
26+
!.vscode/launch.json
27+
!.vscode/extensions.json
28+
!.vscode/mcp.json
29+
.history/*
30+
31+
# Miscellaneous
32+
/.angular/
33+
/.angular/cache
34+
.sass-cache/
35+
/connect.lock
36+
/coverage
37+
/libpeerconnection.log
38+
testem.log
39+
/typings
40+
__screenshots__/
41+
42+
# System files
43+
.DS_Store
44+
Thumbs.db

lib/lab.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ const CHROME_FLAGS = [
2020
'--disable-default-apps', // do not install default apps on first run
2121
'--disable-sync', // disable syncing to Google account
2222
'--disable-translate', // disable translation prompts
23-
'--mute-audio', // mute audio output
23+
'--mute-audio', // mute audio output,
24+
'--ignore-certificate-errors', // ignore certificate errors (useful for testing sites with self-signed certs)
2425
];
2526

2627
async function runLab(url, labOptions = {}) {

0 commit comments

Comments
 (0)