headless
headless copied to clipboard
weston (wayland) support
Hello.
Are there any plans to implement “weston (wayland)” virtual display capabilities in addition to “xvfb (X11)”?
Hello! I'd say rather not, but I would accept PRs.
Thank you for your reply.
Which method would you implement to create a pull request?
- implement only the interface in "lib/headless.rb" and move the concrete implementation to "lib/headless/xvfb.rb" and "lib/headless/weston.rb".
- modify "lib/headless.rb" so that you can use "Process.spawn" in "lib/headless.rb" to switch file names, etc.
how much would need to change? i'm leaning towards option 1 unless it's actually only a matter of calling some new executable with new flags.