Floccer
Regular Member
- Mar 2, 2019
- 365
- 163
Hi
I have been trying to build headless scraper with extension. Scraping works well if browser is not in headless mode. Both browsers are set with profile that has the extension installed. I could ditch the extension if elements wouldn't have dynamic variables. I have been unable to identify right element to get data from the site.
Chromedriver: With chrome it seems that extensions are not supported in headless mode, at least haven't found a way.
Geckodriver: Extensions work with headless but now the text is placed on clipboard and it seems clipboard is not shared from headless mode to host machine?
Could there be some other solutions in windows to get scraping working in headless mode?
I have been trying to build headless scraper with extension. Scraping works well if browser is not in headless mode. Both browsers are set with profile that has the extension installed. I could ditch the extension if elements wouldn't have dynamic variables. I have been unable to identify right element to get data from the site.
Chromedriver: With chrome it seems that extensions are not supported in headless mode, at least haven't found a way.
Geckodriver: Extensions work with headless but now the text is placed on clipboard and it seems clipboard is not shared from headless mode to host machine?
Could there be some other solutions in windows to get scraping working in headless mode?