Skip to content

Commit fcc3c0e

Browse files
Fixed heading punctuation and semicolon.
Co-authored-by: kathayl <kathayl@users.noreply.github.com>
1 parent d01bef3 commit fcc3c0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/content/docs/browser-run

src/content/docs/browser-run/faq.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,11 +193,11 @@ Yes. If your webpage or PDF requires a font that is not pre-installed, you can l
193193

194194
## Session management
195195

196-
### Should I open a new browser for every task, or reuse a session and open tabs?
196+
### Should I open a new browser for every task, or reuse a session and open tabs
197197

198198
For most workloads, reuse an existing browser session and open a new tab instead of launching a fresh browser for each task. Browser Run counts browser instances against your [concurrent browsers](/browser-run/limits/#workers-paid) and [new browser instance rate](/browser-run/limits/#workers-paid) limits, but tabs inside an existing session do not count against either limit. Reusing a session also avoids the cold-start cost of launching a new browser.
199199

200-
A single browser can run many tabs, but all tabs share the same browser process and memory. Heavy pages (for example, pages with large JavaScript bundles, media, or complex DOMs) consume more memory per tab, so opening too many tabs in the same browser can cause it to crash. Test your workload to find a safe number of tabs per browser. For lightweight pages, tens of tabs may be fine; for heavy pages, only a few.
200+
A single browser can run many tabs, but all tabs share the same browser process and memory. Heavy pages (for example, pages with large JavaScript bundles, media, or complex DOMs) consume more memory per tab, so opening too many tabs in the same browser can cause it to crash. Test your workload to find a safe number of tabs per browser. For lightweight pages, tens of tabs may be fine. For heavy pages, only a few.
201201

202202
If you reuse a session but still need isolation between tasks, use an incognito browser context. Incognito contexts isolate cookies, local storage, and cache from each other and from the default context, so you can run separate tasks in tabs within the same browser without data leaking between them.
203203

0 commit comments

Comments
 (0)