Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

update docs to deprecate cookies_file

Nick Sweeting3439d99348fe
diff --git a/docs/customize/browser-settings.mdx b/docs/customize/browser-settings.mdx
index bd4ec0a11..84739892e 100644
--- a/docs/customize/browser-settings.mdx
+++ b/docs/customize/browser-settings.mdx
@@ -298,6 +298,12 @@ Time to wait between agent actions.
cookies_file: str | None = None
```
+<Warning>
+This option is DEPRECATED. Use [`storage_state`](#storage-state) instead, it's the standard playwright format and also supports `localStorage`!
+
+You must transfer any cookies from your existing `cookies_file` to the new format manually, or run `playwright open https://example.com/ --save-storage=auth.json` to create a new file in the new format.
+</Warning>
+
File to save cookies to.
#### `downloads_dir`