Skip to content

Commit 346da10

Browse files
committed
Add back loggingPrefs
1 parent 0e31163 commit 346da10

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

dash/testing/browser.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,8 @@ def _get_chrome(self):
490490
options.add_argument("--disable-gpu")
491491
options.add_argument("--remote-debugging-port=0")
492492

493+
options.set_capability("goog:loggingPrefs", {"browser": "SEVERE"})
494+
493495
chrome = (
494496
webdriver.Remote(command_executor=self._remote_url, options=options) # type: ignore[reportAttributeAccessIssue]
495497
if self._remote

0 commit comments

Comments
 (0)