by ejorge » Thu Feb 23, 2023 10:27 am
Hi,
to achieve this kind of task, you may run CEF in an offscreen mode (i.e: set CefSettings.windowless_rendering_enabled = true from CefInitialize() call).
Then you may need to implement CefRenderHandler.
At this point, you still need a window system.
In our remote browser solution, we made it possible using Ozone platform, adding the following flags:
--off-screen-rendering-enabled --enable-features=UseOzonePlatform and --ozone-platform=headless
After that, you could run a cef-like browser in a docker container or whatever windowless platform.
Hope this helps.