The Network Module in BAS: Cookies, Cache and Requests
The Network module in Browser Automation Studio — control headers, cookies, cache, request masks and downloads, and capture data the browser sends and receives.
The browser is constantly sending and receiving traffic under the hood, and the Network module is where you take control of it — the headers, cookies, cache, requests and downloads that sit between your bot and the server.
What the Network module controls
It works with the browser’s network parameters: cache, cookies, request headers, request masks, request statuses, file downloads and pop-up windows. Together these let you shape exactly what the browser sends out and how it handles what comes back.
Cookies — the session layer
- Save cookies / Load cookies — export the current session’s cookies and reload them later, so a logged-in account doesn’t have to authenticate every run.
- Load cookies into the HTTP client — hand the browser’s session to the HTTP client so fast, browserless requests carry the same authentication. This is the bridge that lets you log in with a browser and then scale with raw requests.
Speed — request masks and cache
- Disable request (mask) — block specific requests by pattern so the browser never loads them. Killing image, font or analytics requests makes pages load faster and threads lighter, which adds up across thousands of runs.
- Allow / clear cache, clear saved data — manage what the browser keeps between actions, so a fresh identity doesn’t inherit stale cached data.
Reading what happened
- Request status / Was there a request — check whether a particular request fired and how it ended, so your flow can branch on the actual network result instead of guessing.
- Get last cache element / Get cache elements — read responses the browser already fetched, useful for pulling data out of XHR calls without re-requesting.
Controlling headers and noise
- Set header — add or change a request header the server sees, for auth tokens or content negotiation.
- Disable / allow pop-ups and file downloads, disable file loading — stop sites from spawning windows or pushing downloads you don’t want, keeping long multi-threaded runs clean.
The Network module is the quiet half of browser control: not what’s on the page, but what crosses the wire. Master cookies and request masks first — session reuse and blocking dead weight are where it pays off fastest.
FAQ
How do I save and reuse cookies in BAS?
The Network module has Save cookies and Load cookies actions, plus loading cookies straight into the HTTP client. Capture a logged-in session once and reload it later so the account does not have to authenticate again.
Can I block images to make a BAS bot faster?
Yes. Use request masks to disable specific requests so the browser never loads heavy resources like images. Fewer downloads means faster pages and lighter threads, which matters at scale.
- Browser Automation Studio: The Complete Practical GuideGuide
- Building Your First Bot in Browser Automation StudioA step-by-step walkthrough of creating your first working BAS bot — from a blank project to a flow that navigates, extracts data, and runs in multiple threads.
- Setting Up Proxies in Browser Automation StudioHow to configure proxies in BAS the right way — proxy types, per-thread assignment, rotation, and the checks that keep multi-account bots from getting flagged.
- Finding Elements in BAS: Selectors That Don't BreakHow element search works in Browser Automation Studio — CSS vs XPath selectors, why recorded ones break, and how to write selectors that survive page changes.