- Joined
- Dec 3, 2023
- Messages
- 6
- Reaction score
- 0
- Points
- 1
Hello,
I've been attempting to create a headless scraper with an extension. The scraping process functions smoothly when the browser is not in headless mode. Both browsers are configured with a profile that includes the installed extension. I'd consider abandoning the extension, but the challenge lies in dynamic variables affecting the elements. Identifying the right element to extract data from the site has proven elusive.
Chromedriver: It appears that extensions are not supported in headless mode with Chrome, or at least I haven't discovered a solution yet.
Geckodriver: While extensions work with headless mode, the issue arises when text is placed on the clipboard, and it seems the clipboard is not shared from headless mode to the host machine.
Are there alternative solutions on Windows to enable scraping in headless mode? Any insights would be appreciated.
I've been attempting to create a headless scraper with an extension. The scraping process functions smoothly when the browser is not in headless mode. Both browsers are configured with a profile that includes the installed extension. I'd consider abandoning the extension, but the challenge lies in dynamic variables affecting the elements. Identifying the right element to extract data from the site has proven elusive.
Chromedriver: It appears that extensions are not supported in headless mode with Chrome, or at least I haven't discovered a solution yet.
Geckodriver: While extensions work with headless mode, the issue arises when text is placed on the clipboard, and it seems the clipboard is not shared from headless mode to the host machine.
Are there alternative solutions on Windows to enable scraping in headless mode? Any insights would be appreciated.