I was able to fix this issue by using the flags:
args: ['--headless=new', '--remote-allow-origins=*', '--autoplay-policy=user-gesture-required', '--disable-gpu', '--single-process']