Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is it possible with this API to run headless?

I always lamented that you can't make a command-line, programmable tool that is a fully robust implementation of the web. It would be very cool if this could enable it.



You could probably rig up a headless implementation, as CEF doesn't create its own windows if you run it in offscreen mode (as any widget embedder would do). Servo does have a "true" headless mode (headless.rs) as well that we use for running tests, though it's not exposed through CEF at the moment.


Selenium Webdriver [1] or PhantomJS [2] might be what you are looking for.

[1] http://docs.seleniumhq.org/projects/webdriver/

[2] http://phantomjs.org


Servo itself can run fully headless right now; though I'm not sure how it's implemented.




Consider applying for YC's Winter 2027 batch! Applications are open till November 2.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: