Skip to content
This repository was archived by the owner on Oct 25, 2024. It is now read-only.

Commit 496f416

Browse files
zhangyihui1yanbin7
authored andcommitted
Test p2p js with chrome headless mode. (#183)
1 parent 09d92c5 commit 496f416

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/p2ptest/karma_config/chrome-start.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ fi
1717

1818
# Execute the command
1919
export DISPLAY=:0
20-
exec "$CMD" --user-data-dir="$USER_DIR" --proxy-auto-detect --window-size=950,450 --use-fake-ui-for-media-stream --disable-user-media-security --no-default-browser-check --no-first-run --disable-default-apps --use-fake-device-for-media-stream "$@"
20+
exec "$CMD" --user-data-dir="$USER_DIR" --enable-logging --v=1 --allow-file-access-from-files --no-proxy-server --no-sandbox --use-fake-ui-for-media-stream --disable-user-media-security --no-default-browser-check --no-first-run --disable-default-apps --disable-popup-blocking --use-fake-device-for-media-stream --headless --remote-debugging-port=9222 "$@"
21+
#exec "$CMD" --user-data-dir="$USER_DIR" --proxy-auto-detect --window-size=950,450 --use-fake-ui-for-media-stream --disable-user-media-security --no-default-browser-check --no-first-run --disable-default-apps --use-fake-device-for-media-stream "$@"

0 commit comments

Comments
 (0)