ddev-contrib icon indicating copy to clipboard operation
ddev-contrib copied to clipboard

Usar ddev + symfony panther + chromedriver + headless chrome

Open Gonzalo2683 opened this issue 3 years ago • 4 comments

Hi, I have tried to configure dev with symfony panther for web scraping, but I have not found a way to do it.

Anyone have any idea how I could make it work? The idea is to have headless chrome working in the background.

Gonzalo2683 avatar Oct 06 '21 13:10 Gonzalo2683

You tried adapting https://github.com/drud/ddev-contrib/tree/master/docker-compose-services/headless-chrome right? That works (amd64 only). I'm sure it would need adaptation for your use case. But it should be a good example.

rfay avatar Oct 06 '21 15:10 rfay

@Gonzalo2683 I am stumped here as well. @rfay Any ideas as what you would have to change to make it work?

Twoscore23 avatar Dec 09 '21 02:12 Twoscore23

Not sure where you're stumped, but if it has to do with arm64, Please see https://github.com/drud/ddev-contrib/pull/166 and https://github.com/isholgueras/chrome-headless/pull/2

rfay avatar Dec 09 '21 03:12 rfay

@rfay Trying to get it to work for panther.

Twoscore23 avatar Dec 09 '21 04:12 Twoscore23