DEV: Add remove debugging URLs to system spec helper (#29722)

These URLs allow the state of a headless browser to be viewed and debugged using any other browser, without needing to restart the test with `SELENIUM_HEADLESS=0`.
This commit is contained in:
David Taylor
2024-11-13 09:27:48 +00:00
committed by GitHub
parent f1edc20a50
commit 86a2558f5f
2 changed files with 17 additions and 4 deletions

View File

@@ -1030,6 +1030,7 @@ def apply_base_chrome_options(options)
options.add_argument("--no-sandbox")
options.add_argument("--disable-dev-shm-usage")
options.add_argument("--mute-audio")
options.add_argument("--remote-allow-origins=*")
# A file that contains just a list of paths like so:
#