Closed kingparks closed 1 month ago
no voice, no audio
You can use BrowserTypeLaunchOptions{ ignoreDefaultArgs: }
to filter out --mute-audio
from default arguments (for chromium).
You can use
BrowserTypeLaunchOptions{ ignoreDefaultArgs: }
to filter out--mute-audio
from default arguments (for chromium).
browser, err := pw.Chromium.Launch(playwright.BrowserTypeLaunchOptions{
IgnoreDefaultArgs: []string{"--mute-audio"},
Channel: playwright.String("chrome"),
Headless: playwright.Bool(false),
})
thx, but not working. During the recording process, sound can be heard, but there is no sound when playing the output file
According to upstream https://github.com/microsoft/playwright/issues/4870, recording audio is not supported.
Environments
Bug description
To Reproduce
There is no sound when playing the output file xxx.webm. Hope there is sound.