Reputation: 41
I want to update the source of the file passed to the arg --use-file-for-fake-video-capture
. Is there a way to update it after the browser instance has been initialized or will this require me to reinitialize the instance with the new source of the file?
Upvotes: 3
Views: 918
Reputation: 8861
No, it is not possible to modify launch args once the Chromium instance is running. Not even with puppeteer.connect()
to an existing browser instance, as it doesn't accept args
the same way as puppeteer.launch()
. You will need to relaunch the browser.
Upvotes: 1