Persistent Sessions & Profiles
Learn about Persistent (sticky) Sessions and Persistent Profiles on Oxylabs Headless Browser. Reconnect to ongoing sessions and reuse your cookies or local storage though multiple sessions.
Persistent Sessions
wss://USER:PASS@ubc.oxylabs.io?session_name=checkout-flow-testParameter
Description
Type
Reconnect to an existing tab
// Reconnect to existing session with
const browser = await chromium.connectOverCDP(endpoint);
const ctx = browser.contexts()[0];
const page = ctx.pages().find(p => p.url().includes("http://example.com "));Persistent Profiles
Parameter
Description
Type
Reliable cross-session restore
Last updated
Was this helpful?

