Skip to content
This repository was archived by the owner on Sep 2, 2025. It is now read-only.

Commit 45062a2

Browse files
Merge pull request #2331 from splunk/gschatz-O11YDOCS-6478
chrome flag feature
2 parents 72ac5b9 + 60e688d commit 45062a2

File tree

2 files changed

+35
-2
lines changed

2 files changed

+35
-2
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
.. list-table::
2+
:header-rows: 1
3+
:widths: 40 60
4+
:width: 100%
5+
6+
* - :strong:`Chrome flag`
7+
- :strong:`Description`
8+
* - ``--disable-http2``
9+
- Requests are made using using ``http/1.1`` instead of ``http/2.0``. This HTTP version is viewable in the HAR file.
10+
* - ``--disable-quic``
11+
- Deactivates QUIC, which also deactivates HTTP3.
12+
* - ``--disable-web-security``
13+
- Deactivate enforcement of same origin policy.
14+
* - ``--unsafely-treat-insecure-origin-as-secure=http://a.test,http://b.test``
15+
- Treat given insecure origin as secure. Multiple origins can be supplied in a comma-separated list.
16+
* - ``--proxy-bypass-list="*.google.com;*foo.com;127.0.0.1:8080"``
17+
- Proxy bypass list for any specified proxy for the given semi-colon-separated list of hosts. This flag must be used with ``--proxy-server``.
18+
* - ``--proxy-server="foopy:8080"``
19+
- Uses a specified proxy server to override default settings.
20+
* - ``--no-proxy-server``
21+
- Don't use a proxy server, always make direct connections. This flag can be used to override any other proxy server flags that you may have set up in a private location.
22+

synthetics/browser-test/set-up-browser-test.rst

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,6 @@ Auto-retry
392392

393393
Run a test again automatically if it fails without any user intervention. It's a best practice to turn on auto-retry to reduce unnecessary failures from temporary interruptions like network issues, timeouts, or intermittent issues on your site. Auto-retry runs do not impact subscription usage, only the completed run result counts towards your subscription usage. Auto-retry requires at least runner version 0.9.29.
394394

395-
.. Security
396395

397396
.. _browser-validation:
398397

@@ -420,7 +419,6 @@ When executing the browser test, the Chrome browser is configured with the crede
420419

421420
More details on Chrome authentication are available :new-page:`here list <https://www.chromium.org/developers/design-documents/http-authentication/>`.
422421

423-
.. Custom content
424422

425423
.. _browser-headers:
426424

@@ -510,6 +508,19 @@ Here are the limits for each type of wait time. The maximum limit for a run is 3
510508

511509

512510

511+
Chrome flags
512+
----------------
513+
Google Chrome flags are a helpful tool for troubleshooting. Activate browser features that are not available by default to test custom browser configurations and specialized use cases, like a proxy server.
514+
515+
For more, see
516+
:new-page:`What are Chrome flags? <https://developer.chrome.com/docs/web-platform/chrome-flags>` in the Google Chrome Developer guide.
517+
518+
Note: Global variables are incompatible with Chrome flags.
519+
520+
These are the flags available:
521+
522+
523+
.. include:: /_includes/synthetics/chrome-flags.rst
513524

514525

515526

0 commit comments

Comments
 (0)