leonid-shevtsov / headless

Create a virtual X screen from Ruby, record videos and take screenshots.
http://leonid.shevtsov.me/en/headless
MIT License
968 stars 113 forks source link

Running headless with flash #93

Closed richlewis14 closed 7 years ago

richlewis14 commented 7 years ago

Hi

Not sure if this is the best place for this if not apologies. When using headless I can run chrome fine, take screenshots etc. I face an issue though when I try to open a page that needs flash to run.

The page opens but with the message "please restart chrome to run above flash". Has anyone got this to run successfully on flash based sites?

I am doing this on a Linux box ( EC2 instance ), all via the command line

leonid-shevtsov commented 7 years ago

Hi - apologies for answering so late, but this is not headless-related. My guess is that the EC2 instance does not have Flash installed, and if so, here's how to install it:

https://askubuntu.com/questions/341428/how-to-install-flash-player-on-ubuntu#341430