Skip to content

Distinct options for every new browser instance #107

@NikolaiT

Description

@NikolaiT

Hi!

First of all: Very beautiful code and software. I should start learning typescript.

Is it possible to pass different options to different browser launches?

As I can see in the concurrency implementation of CONCURRENCY_BROWSER in src/concurrency/built-in/Browser.ts, every new browser is started with identical options:

let chrome = await this.puppeteer.launch(this.options) as puppeteer.Browser;

Would it be possible to pass different options to new launches of browser instances?

I ask because I want to set different --proxy-server=some-proxy flags to new browser launches.

Thanks for viewing

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionTalk about features or implementation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions