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?
Asked
Active
Viewed 511 times
3

Matt Kellough
- 41
- 2
1 Answers
1
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.

theDavidBarton
- 7,643
- 4
- 24
- 51