Visible + hidden browsers
Posted: Mon Apr 07, 2025 10:24 am
Hello Salvador,
In my application, I need a visible browser window where users will interact with the websites (sign in to their account and things like that). And then, once the visible window closes, I need to have several hidden windows (browsers? tabs?) where pages will be rendered and scrolled without any user interaction, to get the page sources and other internal stuff.
Right now, I use the visible CEF window in my application successfully, but I've never used a CEF browser as a hidden feature. So, my question is: how do I combine these 2 different approaches in one application? Are there any demos for a completely hidden browser window (in fact, I'll need many hidden windows at the same time) working so that the main application window doesn't lose focus, only producing the necessary results (HTML codes, addresses of Fetch/XHR requests) completely without user interaction.
Thank you for your time.
In my application, I need a visible browser window where users will interact with the websites (sign in to their account and things like that). And then, once the visible window closes, I need to have several hidden windows (browsers? tabs?) where pages will be rendered and scrolled without any user interaction, to get the page sources and other internal stuff.
Right now, I use the visible CEF window in my application successfully, but I've never used a CEF browser as a hidden feature. So, my question is: how do I combine these 2 different approaches in one application? Are there any demos for a completely hidden browser window (in fact, I'll need many hidden windows at the same time) working so that the main application window doesn't lose focus, only producing the necessary results (HTML codes, addresses of Fetch/XHR requests) completely without user interaction.
Thank you for your time.