Need to launch a browser instance that uses a proxy

My automated tests use a proxy to ensure that the browser is not ip-authenticated. I need to do the same for the xk6-browser tests.
i used an example i found using playwright that supposedly launches it with proxy, but it does not work

here is the example of the code i used(scrubbed proprietary urls)

 const browser = chromium.launch({ headless: false, proxy: {
            server: 'http://apacheproxy02.my.example.org:80',
        }, });
    const page = browser.newPage();

Is this not supported yet ?

Hi @Jeet_S !

Unfortunately the proxy option is currently unimplemented, in the sense that it’s not being set when launching the browser. We have an issue open that relates to that and that you can use to track the availability of the feature.