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

Question: how do you anticipate headless to work with Docker Selenium #85

Open rajatjindal opened 7 years ago

rajatjindal commented 7 years ago

Thanks for the wonderful gem.

I am trying to see how this can work with Selenium Docker images. If I understand correctly, Docker selenium exposes a selenium server running already on port 4444

Do we just change headless to always use that selenium server or is there a better way to do this without having to write a lot of Dockerfile to install browsers/ruby/selenium etc?

Thanks Rajat Jindal

leonid-shevtsov commented 7 years ago

Hi - sorry for taking this long to respond - I assume you mean the video recording part? (Because a Selenium Docker image would not need Xvfb).

I'm thinking maybe I need to separate the video recording into a separate gem, and have it be more versatile, like work on Mac and Windows as well.

zedtux commented 5 years ago

Hey @leonid-shevtsov I'm looking exactly for this. Have you made the separated gem with the video recoding which could be used with a selenium Docker image please?

Tejareddy1 commented 5 years ago

Hi @leonid-shevtsov ,I am also looking for this. any update on separating video recording?

zedtux commented 3 years ago

A gentle reminder on this issue @leonid-shevtsov :wink: