Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Visible + hidden browsers

Post Reply
Maksym
Posts: 18
Joined: Wed Dec 20, 2023 11:13 am

Visible + hidden browsers

Post by Maksym »

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.
User avatar
salvadordf
Posts: 4620
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Visible + hidden browsers

Post by salvadordf »

Hi,

See if the TabbedBrowser2 demo is what you need.
Create multiple browsers and hide all the tabs.
Maksym
Posts: 18
Joined: Wed Dec 20, 2023 11:13 am

Re: Visible + hidden browsers

Post by Maksym »

Thanks, I'll try it.
Post Reply