headless
headless copied to clipboard
Create a virtual X screen from Ruby, record videos and take screenshots.
Latest release of gem was at 2016 There are sevral improvements since: https://github.com/leonid-shevtsov/headless/compare/v2.3.1...master
`File.exists?` is deprecated in Ruby 2.1+. https://github.com/ruby/ruby/blob/faba7187c5e659d7a6da67ec844c4989fc74a8d5/file.c#L1413
The list of options that can be passed to `Headless.new` contained what I think to be a styling typo and was causing the options name to be misleading, this PR...
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...
Hello, I saw the issue: [#66](https://github.com/leonid-shevtsov/headless/issues/66) and I saw the [video_recorder.rb](https://github.com/leonid-shevtsov/headless/blob/master/lib/headless/video/video_recorder.rb) In line 97 is a small bug because probably variable @devices should be 1 line below: ``` "-s #{dimensions}",...
I get the following error ```"error_message":"Display socket is taken but lock file is missing - check the Headless troubleshooting guide","error_class":"Headless::Exception","failed_at":1564710065.787636,"retry_count":0,"error_backtrace":["/Users/buzz/.gem/ruby/2.6.3/gems/headless-2.3.1/lib/headless.rb:207:in `ensure_xvfb_launched'","/Users/buzz/.gem/ruby/2.6.3/gems/headless-2.3.1/lib/headless.rb:195:in `launch_xvfb'","/Users/buzz/.gem/ruby/2.6.3/gems/headless-2.3.1/lib/headless.rb:182:in `block in pick_available_display'"```
I'm getting the following error with the `video: { log_file_path: STDERR} ` option `Unknown input format: 'x11grab'` This page seems to suggest that `avfoundation` should be used instead on mac....
i added extra but video doesnt have sound `headless = Headless.new(dimensions: '1080x1920x24' ,video: {log_file_path: STDERR, frame_rate: 30, codec: 'libx264', devices: ["-draw_mouse 0"], extra: %w(-acodec libmp3lame -ar 44100 -ab 128k -threads...
Suppose I invoke `Headless.run(display: pick-a-display(), autopick: true) do ... end`, so that I specify both an initial guess for a display, and ask Headless to handle the rest. My server,...
Hello, I have a few things about the headless gem and video recording. 1. How can I hide the mouse cursor? 2. In method **stop_and_save** in **VideoRecorder** class good option...