Skip to content

Commit cc86752

Browse files
authored
Add Chrome & Edge policy requirements RemoteDebuggingAllowed (#6291)
1 parent b587942 commit cc86752

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

docs/app/references/launching-browsers.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,15 @@ Or Chrome for Testing:
137137
cypress run --browser chrome-for-testing
138138
```
139139

140+
#### Chrome policy
141+
142+
If Chrome policy is set, ensure that
143+
[RemoteDebuggingAllowed](https://chromeenterprise.google/policies/#RemoteDebuggingAllowed)
144+
is either undefined or set to `true`.
145+
If this is not the case, then Cypress will timeout, returning an `ECONNREFUSED` error, attempting to connect to the browser.
146+
Chrome policy is generally applied to a Chrome-branded browser only, not to Chromium or Chrome for Testing browsers.
147+
Check by browsing to **chrome://policy**.
148+
140149
### Edge Browsers
141150

142151
Microsoft Edge-family (Chromium-based) browsers are supported by Cypress.
@@ -165,6 +174,14 @@ Or Microsoft Edge Dev:
165174
cypress run --browser edge:dev
166175
```
167176

177+
#### Edge policy
178+
179+
If Edge policy is set, ensure that
180+
[RemoteDebuggingAllowed](https://learn.microsoft.com/en-us/deployedge/microsoft-edge-browser-policies/remotedebuggingallowed)
181+
is either undefined or set to `true`.
182+
If this is not the case, then Cypress will timeout, returning an `ECONNREFUSED` error, attempting to connect to the browser.
183+
Check by browsing to **edge://policy**.
184+
168185
### Firefox Browsers
169186

170187
Firefox-family browsers are supported by Cypress.

0 commit comments

Comments
 (0)