Setup a remote-debugging-port in the config and look at this HTML Remote Debugging: document.registerElement
IIRC you should be able to start casparcg.exe like this to ignore SSL: “casparcg.exe --allow-running-insecure-content” Otherwise check the other CLI options for CEF https://peter.sh/experiments/chromium-command-line-switches/
I run several hard-coded options in my own CCG builds:
command_line->AppendSwitchWithValue("default-encoding", "utf-8");
command_line->AppendSwitchWithValue("autoplay-policy", "no-user-gesture-required");
command_line->AppendSwitch("allow-file-access-from-files");
command_line->AppendSwitch("allow-insecure-localhost");
command_line->AppendSwitch("allow-running-insecure-content");
command_line->AppendSwitch("disable-web-security");
command_line->AppendSwitch("enable-experimental-web-platform-features");
command_line->AppendSwitch("bwsi");
command_line->AppendSwitch("disable-sync");
command_line->AppendSwitch("javascript-harmony");
command_line->AppendSwitch("no-user-gesture-required");
command_line->AppendSwitch("no-proxy-server");
command_line->AppendSwitch("disable-background-timer-throttling");
command_line->AppendSwitch("disable-backgrounding-occluded-windows");
command_line->AppendSwitch("disable-renderer-backgrounding");
command_line->AppendSwitch("use-fake-ui-for-media-stream");
command_line->AppendSwitchWithValue("default-background-color", "00000000");
command_line->AppendSwitchWithValue("force-device-scale-factor", "1");
command_line->AppendSwitchWithValue("device-scale-factor", "1");
command_line->AppendSwitch("off-screen-rendering-enabled");
command_line->AppendSwitchWithValue("off-screen-frame-rate", "50");
command_line->AppendSwitch("enable-font-aliasing");
command_line->AppendSwitchWithValue("font-render-hinting", "max");
command_line->AppendSwitchWithValue("force-color-profile", "srgb");
command_line->AppendSwitchWithValue("disable-features", "AsyncWheelEvents, TouchpadAndWheelScrollLatching, ColorCorrectRendering, HardwareMediaKeyHandling");
command_line->AppendSwitch("disable-renderer-accessibility");
command_line->AppendSwitch("disable-notifications");
command_line->AppendSwitch("disable-permissions-api");
command_line->AppendSwitch("mute-audio");
command_line->AppendSwitchWithValue("js-flags", "--expose-gc");
command_line->AppendSwitch("disable-main-frame-before-activation");
command_line->AppendSwitchWithValue("num-raster-threads", "2");