You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/api.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3983,6 +3983,7 @@ This methods attaches Playwright to an existing browser instance.
3983
3983
-`username` <[string]> Optional username to use if HTTP proxy requires authentication.
3984
3984
-`password` <[string]> Optional password to use if HTTP proxy requires authentication.
3985
3985
-`downloadsPath` <[string]> If specified, accepted downloads are downloaded into this folder. Otherwise, temporary folder is created and is deleted when browser is closed.
3986
+
-`chromiumSandbox` <[boolean]> Enable Chromium sandboxing. Defaults to `true`.
3986
3987
-`firefoxUserPrefs` <[Object]> Firefox user preferences. Learn more about the Firefox user preferences at [`about:config`](https://support.mozilla.org/en-US/kb/about-config-editor-firefox).
3987
3988
-`handleSIGINT` <[boolean]> Close the browser process on Ctrl-C. Defaults to `true`.
3988
3989
-`handleSIGTERM` <[boolean]> Close the browser process on SIGTERM. Defaults to `true`.
@@ -4024,6 +4025,7 @@ const browser = await chromium.launch({ // Or 'firefox' or 'webkit'.
4024
4025
-`password` <[string]> Optional password to use if HTTP proxy requires authentication.
4025
4026
-`acceptDownloads` <[boolean]> Whether to automatically download all the attachments. Defaults to `false` where all the downloads are canceled.
4026
4027
-`downloadsPath` <[string]> If specified, accepted downloads are downloaded into this folder. Otherwise, temporary folder is created and is deleted when browser is closed.
4028
+
-`chromiumSandbox` <[boolean]> Enable Chromium sandboxing. Defaults to `true`.
4027
4029
-`handleSIGINT` <[boolean]> Close the browser process on Ctrl-C. Defaults to `true`.
4028
4030
-`handleSIGTERM` <[boolean]> Close the browser process on SIGTERM. Defaults to `true`.
4029
4031
-`handleSIGHUP` <[boolean]> Close the browser process on SIGHUP. Defaults to `true`.
@@ -4072,6 +4074,7 @@ Launches browser that uses persistent storage located at `userDataDir` and retur
4072
4074
-`username` <[string]> Optional username to use if HTTP proxy requires authentication.
4073
4075
-`password` <[string]> Optional password to use if HTTP proxy requires authentication.
4074
4076
-`downloadsPath` <[string]> If specified, accepted downloads are downloaded into this folder. Otherwise, temporary folder is created and is deleted when browser is closed.
4077
+
-`chromiumSandbox` <[boolean]> Enable Chromium sandboxing. Defaults to `true`.
4075
4078
-`firefoxUserPrefs` <[Object]> Firefox user preferences. Learn more about the Firefox user preferences at [`about:config`](https://support.mozilla.org/en-US/kb/about-config-editor-firefox).
4076
4079
-`handleSIGINT` <[boolean]> Close the browser process on Ctrl-C. Defaults to `true`.
4077
4080
-`handleSIGTERM` <[boolean]> Close the browser process on SIGTERM. Defaults to `true`.
Copy file name to clipboardExpand all lines: docs/ci.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -178,11 +178,11 @@ Bitbucket Pipelines can use public [Docker images as build environments](https:/
178
178
image: mcr.microsoft.com/playwright:bionic
179
179
```
180
180
181
-
While the Docker image supports sandboxing for Chromium, it does not work in the Bitbucket Pipelines environment. To launch Chromium on Bitbucket Pipelines, use the `--no-sandbox` launch argument.
181
+
While the Docker image supports sandboxing for Chromium, it does not work in the Bitbucket Pipelines environment. To launch Chromium on Bitbucket Pipelines, use the `chromiumSandbox: false` launch argument.
0 commit comments