From bf77310843e42121658170ff2dbce3dd468495d7 Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Tue, 20 Jan 2026 20:14:01 +0000 Subject: [PATCH] Update browsers/file-io.mdx Co-Authored-By: mintlify[bot] <109931778+mintlify[bot]@users.noreply.github.com> --- browsers/file-io.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browsers/file-io.mdx b/browsers/file-io.mdx index da24b20..4adc2de 100644 --- a/browsers/file-io.mdx +++ b/browsers/file-io.mdx @@ -18,7 +18,7 @@ Playwright performs downloads via the browser itself, so there are a few steps: - Retrieve the file from the browser's filesystem - With `behavior: 'default'`, downloads are saved to the browser's default download directory. The CDP `downloadProgress` event includes a `filePath` field when the download completes, which tells you exactly where the file was saved. Use this path with Kernel's File I/O APIs to retrieve the file. + With `behavior: 'default'`, downloads are saved to `/tmp/playwright-artifacts-XXXXXX/` (where `XXXXXX` is a random suffix), not `/home/kernel/Downloads`. The CDP `downloadProgress` event includes a `filePath` field when the download completes, which tells you exactly where the file was saved. Use this path with Kernel's File I/O APIs to retrieve the file.