--allow-running-insecure-content
What does --allow-running-insecure-content do?
By default, an https page cannot run JavaScript, CSS or plugins from http URLs. This provides an override to get the old insecure behavior.
Usage
CLILaunch Chrome with --allow-running-insecure-content using CLI
chrome --allow-running-insecure-contentPuppeteerLaunch Chrome with --allow-running-insecure-content using Puppeteer
const browser = await puppeteer.launch({
args: ['--allow-running-insecure-content']
});PlaywrightLaunch Chrome with --allow-running-insecure-content using Playwright
const browser = await chromium.launch({
args: ['--allow-running-insecure-content']
});SeleniumLaunch Chrome with --allow-running-insecure-content using Selenium
from selenium import webdriver
options = webdriver.ChromeOptions()
options.add_argument('--allow-running-insecure-content')
driver = webdriver.Chrome(options=options)