Skip to content

Commit afae201

Browse files
authored
[ci] Enable console logging in chrome testing. NFC (#25579)
The format looks like this: ``` [4082634:4082634:1017/153703.620972:INFO:CONSOLE:146] "another line.", source: http://localhost:8888/test.html (146) ```
1 parent abea16b commit afae201

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/common.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@ class ChromeConfig:
114114
'--disable-background-networking',
115115
# Disable native password pop-ups
116116
'--password-store=basic',
117+
# Send console messages to browser stderr
118+
'--enable-logging=stderr',
117119
)
118120
headless_flags = '--headless=new --window-size=1024,768'
119121

0 commit comments

Comments
 (0)