serverless-chrome icon indicating copy to clipboard operation
serverless-chrome copied to clipboard

Support for Headless Firefox

Open adieuadieu opened this issue 8 years ago • 5 comments

Mmmmm beheaded fire foxes.

adieuadieu avatar Aug 28 '17 14:08 adieuadieu

I love this feature. We can't emulate WebGL stuff on Headless Chrome right now. However, I guess firefox might emulate them on CPU. There are many useful situations!

kyasbal avatar Oct 19 '17 15:10 kyasbal

@adieuadieu @kyasbal-1994 does serverless-chrome have WebGL support? And in general is it possible to use WebGL in lambda? I kind of know the answer but just want to be sure.

defaul avatar Nov 30 '17 02:11 defaul

@defaul I haven't experiment by myself. But, I heared that Firefox browser have fallback feature when GPU is not available on the environment.

kyasbal avatar Nov 30 '17 07:11 kyasbal

Was able to successfully build and run headless Firefox 61.0.1 on the ami lambdas use with a slightly modded version of these instructions (https://gist.github.com/joekiller/4144838)

Have to supply the correct wget url for the Firefox tar file and then bump gtk from 2.24 to 3.4.2

I started following this gist (https://gist.github.com/smithclay/7852bfdbf565ba6fe0601b0e2d01b56b) to try and get it running on lambda, but I’m just shy of making it actually run through to completion. It seems that I might not have the shared binaries in the right places.

Any chance anyone is working on this? My team is very interested in using headless browsers to run selenium on lambda. My other option is spot fleet containers and... well... ick... would rather be Serverless!

mbruning24 avatar Jul 14 '18 02:07 mbruning24

@defaul according to this yes. @kyasbal-1994 there is a bug related to firefox. Do you have updated information?

erotavlasme avatar Aug 06 '18 10:08 erotavlasme