go-rod / rod

A Chrome DevTools Protocol driver for web automation and scraping.

Home Page:https://go-rod.github.io

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does rod support separate sessions or incognito mode?

BeyondIM opened this issue · comments

commented

Rod Version:v0.114.8

chromedp.WithNewBrowserContext is used to create a new browser context with chromedp. This allows you to operate in a separate session or incognito mode, where the state (cookies, local storage, etc.) is not shared with other browser contexts.

Does rod have a similar solution? tks.

Please add a valid Rod Version: v0.0.0 to your issue. Current version is v0.114.8

generated by check-issue

rod/browser.go

Lines 84 to 85 in 0340433

// Incognito creates a new incognito browser.
func (b *Browser) Incognito() (*Browser, error) {