Closed afbase closed 1 year ago
Hello,
is there a way to create an incognito window in playwright-rust?
I see the comment https://github.com/octaltree/playwright-rust/blob/52c3bbdc00146046ddeec85866737856600f8f5b/src/api/browser_context.rs#L18
granted, I am not super familiar with playwright and still coming to terms with rustlang.
This method in the example calls newContext.
newContext
let context = browser.context_builder().build().await?;
It creates a new browser context. It won't share cookies/cache with other browser contexts.
Hello,
is there a way to create an incognito window in playwright-rust?
I see the comment https://github.com/octaltree/playwright-rust/blob/52c3bbdc00146046ddeec85866737856600f8f5b/src/api/browser_context.rs#L18
granted, I am not super familiar with playwright and still coming to terms with rustlang.